Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-2
-
Fix Version/s: 2.0-beta-3
-
Component/s: Static Type Checker
-
Labels:None
-
Number of attachments :
Description
Just got the 2.0 compiler into groovy-eclipse, so testing things out:
import groovy.transform.TypeChecked; @TypeChecked class TC { public static void main(String[] args) { foo(); } public void foo() {} }
No type checking error is reported here - I presume there should be one? (Since foo is not static)
This is indeed a stupid bug. I'm raising the priority to blocker for the next beta.