Good Code Declared Bad; Many Cascading (Spurious) Errors

Hi,

This code:

trait   ComponentAPI
extends ComponentOps
//th    ComponentTrace
with    SharedAPI
{
//  ...

}

is flagged as erroneous. The compiler is fine with it. Because of the location of the incorrectly detected error, almost everything following in the file is flagged as erroneous as well.


I'm using:

  • IDEA: 9.0.4 EA (#95.538)
  • Scala plug-in: 0.3.2179
  • OS: Mac OS 10.6.4
  • Java: 1.6.0_20
  • % java -version

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)


Randall Schulz

1 comment

Problem is in comment, which is placed on new line (if it's placed in the end of line, all is ok), it's our parser bug (http://youtrack.jetbrains.net/issue/SCL-2453?projectKey=SCL).

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.