Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8-beta-1
-
None
Description
The following code should not compile, as class A is defined as a generic class and not class B, but type variables' resolution is spilling over from A to other non-related classes in the same module.
Test.groovy
class A<T>{} class B { T f }
However, the following should continue to work
class A<T>{ class B { T f } }