Cannot resolve symbol Map from Predef

This code

var m : Map\[Int, Int\] = _

paints 'Map' in red with 'Cannot resolve symbol Map' error. It doesn't prevent successful compilation. Have I missed something?

0
2 comments

We cannot decompile scala class files yet (we can just as java class files). It will be provided, but now, must be you need to import Map (to hide red code).

0
Avatar
Permanently deleted user

We cannot decompile scala class files yet (we can just as java class files). It will be provided, but now, must be you need to import Map (to hide red code).


Thanks, I have a month to wait (trialing since today) :)

0

Please sign in to leave a comment.