Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-1
-
None
Description
STC allows assign an array to any type which is not an array
import groovy.transform.* @TypeChecked class Foo { def say() { FooAnother foo1 = new Foo[13] // but FooAnother foo1 = new Foo() reports a STC Error } } class FooAnother { }