Presentation compiler issues a few errors for valid Scala code (Result.scala)
Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/118
Reporter boia01
With the attached source file (Result.scala), the presentation compiler reports errors in a few places despite the code being valid and compiling properly.
The plugin red-underlines some tokens with messages such as:
1) type mismatch; found : T required T
2) BAD:null (on the "case" of case classes)
3) bad signature (on an object declaration)
I've tried cleaning and re-building the project but the errors come back as soon as I make edits to the file.
Reporter boia01
With the attached source file (Result.scala), the presentation compiler reports errors in a few places despite the code being valid and compiling properly.
The plugin red-underlines some tokens with messages such as:
1) type mismatch; found : T required T
2) BAD:null (on the "case" of case classes)
3) bad signature (on an object declaration)
I've tried cleaning and re-building the project but the errors come back as soon as I make edits to the file.
Leave a comment
on 2007-09-19 18:30 *
By tracImporter
Trac author: mcdirmid
Should be fixed in 2.6.1.B2
Should be fixed in 2.6.1.B2
on 2008-04-08 15:50 *
By tracImporter
Closed As: fixed