Case classes with type parameters don't see the type parameters
Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/555
Reporter dragos
The Scala editor will think this code has an error:
The 'Error log' is filled with 'breaking probably infinite loop with...'.
Reporter dragos
The Scala editor will think this code has an error:
package foo
case class Foo[A](v: A) {
}
The error is 'not found: type A'. If I remove the 'case' modifier, it works fine. The error is showed only inline, by underlining the 'A' in the constructor, and when hovering. The 'Problems' panel is empty.The 'Error log' is filled with 'breaking probably infinite loop with...'.
Leave a comment
Trac author: dragos
I bumped the priority of this one, as it is a real show-stopper.
I bumped the priority of this one, as it is a real show-stopper.
on 2008-02-28 09:17 *
By tracImporter
Trac author: mcdirmid
Trac author: mcdirmid
Fixed.
Fixed.
on 2009-01-14 20:54 *
By tracImporter
Closed As: fixed