-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:implicitsrelated to implicitsrelated to implicitsarea:inferarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:bug
Description
Compiler version
3.3.1-RC1
Minimized code
class A1[T](action: A1[T] ?=> String = "")
Output
-- [E081] Type Error: ----------------------------------------------------------
1 |class A1[T](action: A1[T] ?=> String = "")
| ^
| Missing parameter type
|
| I could not infer the type of the parameter evidence$1.
| What I could infer was: A1[<?>]
1 error found
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 any AnonymousFunctionMissingParamType
on contextual functions, and potentially other errors
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:implicitsrelated to implicitsrelated to implicitsarea:inferarea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcbetter-errorsIssues concerned with improving confusing/unhelpful diagnostic messagesIssues concerned with improving confusing/unhelpful diagnostic messagesitype:bug