Error about Contextual function's parameter refer to its synthetic name without explantation #18188
Labels
area:implicits
related to implicits
area:infer
area:reporting
Error reporting including formatting, implicit suggestions, etc
better-errors
Issues concerned with improving confusing/unhelpful diagnostic messages
itype:bug
Spree
Suitable for a future Spree
Compiler version
3.3.1-RC1
Minimized code
Output
Expectation
The error mentions
evidence$1
which is not defined anywhere(neither in user-facing code, nor in the error message)
This example was taken from
tests/neg/i11350.scala
in the compiler, but affects anyAnonymousFunctionMissingParamType
on contextual functions, and potentially other errorsThe text was updated successfully, but these errors were encountered: