Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0-beta-2
-
Component/s: Static Type Checker
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
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 { }
Activity
Cedric Champeau
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Cedric Champeau [ melix ] | |
| Fix Version/s | 2.0-beta-2 [ 18072 ] | |
| Affects Version/s | 2.0-beta-1 [ 17925 ] | |
| Component/s | Static Type Checker [ 15261 ] | |
| Component/s | SQL processing [ 12873 ] |
Cedric Champeau
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Paul King
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |