Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Won't Fix
-
1.0-JSR-3
-
None
-
None
Description
I have a class as bellow:
package com.foo;
class SomeClass {
public static boolean isA(Class type)
}
and a groovy file as:
import com.foo.SomeClass.*;
def x = isA(Double.class);
When it compiles I get:
No signature of method TheGroovyWrittenClass.isA() is applicable for argument types: (java.lang.Class) values:
If I don't import as .* it works.