Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.6.0.Release
-
Fix Version/s: None
-
Component/s: Compiler Integration, Editor
-
Labels:None
-
Number of attachments :
Description
In the following script:
ClassWithOverloadedStaticInstanceMethod.method(from: "2011-01-01", to: "2011-01-31") class ClassWithOverloadedStaticInstanceMethod { static method(Map params){} def method() {} }
The callsite appears as ClassWithOverloadedStaticInstanceMethod.method(from: "2011-01-01", to: "2011-01-31") in the editor. It appears as though this is related to the special Map syntax since changing the code slightly resolves the issue:
def params = [from: "2011-01-01", to: "2011-01-31"] ClassWithOverloadedStaticInstanceMethod.method(params) class ClassWithOverloadedStaticInstanceMethod { static method(Map params){} def method() {} }