Closed
Description
minimized code
object Test {
Nil.toString.foo(1)
}
Compilation output
This used to print:
value foo is not a member of String
But now (I didn't check at which commit exactly this changed) it prints:
-- [E083] Type Error: wtf.scala:2:2 --------------------------------------------
2 | Nil.toString.foo(1)
| ^^^^^^^^^^^^
| String is not a valid type prefix, since it is not an immutable path