Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
This is curious (with groovy shipped with grails 1.3.4)
boolean b = true def x = b.toBoolean() println x assert x
1) where is no-arg toBoolean() coming from
2) why does it return false for true input.