Wrong error message when instantiating a trait from scala 2.13 stdlib #16601
Labels
area:reporting
Error reporting including formatting, implicit suggestions, etc
good first issue
Perfect for someone who wants to get started contributing
itype:bug
Milestone
Compiler version
3.2.1 and before
Minimized code
Output
With
-explain
enabled:Expectation
The actual name of the instantiated trait (e.g.
ExecutionContext
in the example above) should be displayed instead ofUnit
.The text was updated successfully, but these errors were encountered: