@unroll
on a case class field without a default argument produces bad error message
#22832
Labels
area:annotations
area:experimental:unroll
Issues tied to the @unroll annotation
area:experimental
area:reporting
Error reporting including formatting, implicit suggestions, etc
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:enhancement
Compiler version
3.7.0-RC1
Minimized example
Output Error/Warning message
Why this Error/Warning was not helpful
I would expect this to produce a similar error message to
@unroll
ing a method param or normal class param that is lacking a default valueThe text was updated successfully, but these errors were encountered: