Predef is not correctly imported
wiwa opened this issue · comments
import scala.Predef.String
object C {
def foo: Map[Int, Int] = Map.empty
}
Due to the changes from this commit, Predef is not correctly imported, resulting in
error: unbound: type Map
def foo: Map[Int, Int] = Map.empty
^
one error found
Actually, this error is possibly replicated by scalac
surprisingly, i.e.
error: not found: type Map
def foo: Map[Int, Int] = Map.empty
^
Removing the import relieves the issue