Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-beta-3
-
Fix Version/s: 1.1-rc-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
There are still some cases which worked with beta-2 which are still broken after the move to StaticImportVisitor, e.g:
import static java.util.Calendar.getInstance as now def now = now().time assert now.class == Date
=>
groovy.lang.MissingMethodException: No signature of method: groovy.StaticImportTest.now() is applicable for argument types: () values: {}
This is mainly a placeholder - I have a partial fix for this locally but am about to head off for a week's holiday (after opening the first Groovy User Group in Australia tomorrow)!, so don't want to risk breaking the build while I have limited ability to respond - we should fix before rc-1 though.
Added to HEAD