-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcexp:noviceitype:enhancementstat:needs spec
Milestone
Description
Compiler Version
3.0.2
Minimised Code
trait Foo
def foo()(using Foo) = println("foo")
def test = foo()
Output
-- Error: i7710.scala:5:16 -------------------------------------------
5 |def test = foo()
| ^
|no implicit argument of type Foo was found for parameter x$1 of method foo
1 error found
Expectation
Shouldn't the message mention "given"?
Metadata
Metadata
Assignees
Labels
SpreeSuitable for a future SpreeSuitable for a future Spreearea:reportingError reporting including formatting, implicit suggestions, etcError reporting including formatting, implicit suggestions, etcexp:noviceitype:enhancementstat:needs spec