This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
benchmarking v2 syntax does not issue warnings on unused benchmark params #13303
Labels
U2-some_time_soon
Issue is worth doing soon.
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
Because of how the benchmark function defs aren't actually real function defs, we don't get nice warnings about unused benchmark parameters that we would get if these were real functions.
ie this should issue a warning about
x
not being used, but does not:This would be fixed if we generate real function definitions, as contemplated in #13224
The text was updated successfully, but these errors were encountered: