Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3
-
Component/s: None
-
Labels:None
-
Environment:all
-
Number of attachments :
Description
The ternary operator isn't being processed correctly.
The following code should output "yes", but it outputs "true".
println 1 == 1 ? "yes" : "no"
The following code should output "no", but it outputs "false".
println 1 == 2 ? "yes" : "no"