Functions with default arguments with @boundscheck
can be confusing
#30411
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
This will (perhaps confusingly) not elide the boundscheck. Arguably this is an implementation detail of default arguments leaking into the semantics.
The text was updated successfully, but these errors were encountered: