-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1, 1.7-beta-1
-
Component/s: ast builder
-
Labels:None
e.g.
@Singleton class MyService{ } println MyService.instance // it works as expected println MyService.getInstance() //throw exception: No signature of method: static MyService.getInstance() is applicable for argument types: () values: []
p.s. i found an old issue about Singleton in Groovy that probably could be closed GROOVY-1870