2 comments
Comment actions Permalink

That's a bug in the IDEA Scala parser.

It is is parsed as:

(lb += "c") -> 3

instead of:

lb += ("c" -> 3)

BTW, to get an insight into the structured parsed by IDEA, you can paste snippets of code into Tools -> PSI Viewer.

0
Comment actions Permalink

Thanks, I totally missed the fact that the PSI viewer was back again.
And, also thanks for Alexander for fixing the parser issue. Nightly build #0.3.1975 seems to parse such code correctly. :)

0

Please sign in to leave a comment.