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?

2 comments
Comment actions Permalink

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
Comment actions Permalink

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.