Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
import java.math.Math
sin(1234.14) * cos(2.4)
etc
Issue Links
| This issue is depended upon by: | ||||
| GROOVY-762 | implement syntax improvements |
|
|
|
We could allow a syntax such as:
import *() from my.Foo
import staticMethod() from my.Foo
Or something like what John Rose suggested on IRC a while back:
import my.Foo.staticMethod()