Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6, 1.6-beta-1
-
None
Description
The following does not work in Groovy, but it should:
def n = "2345" assert (n as Integer) == 2345
The above code currently throws a ClassCastException.