Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.6.8
-
Component/s: Groovy Console
-
Labels:None
-
Environment:Windows XP SP3
-
Number of attachments :
Description
int a = 1
int b = 3
"hello".subString(a ,b)
OR
"hello".subString(a as int,b as int)
Exception :
Exception thrown: No signature of method: java.lang.String.subString() is applicable for argument types: (java.lang.Integer, java.lang.Integer) values: [1, 3]
groovy.lang.MissingMethodException: No signature of method: java.lang.String.subString() is applicable for argument types: (java.lang.Integer, java.lang.Integer) values: [1, 3]
at ConsoleScript13.run(ConsoleScript13:4)