Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
all
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"