-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
This applies to IfThenElse expressions which encompass AndAlso and OrElse
derived patterns.
For example, instead of
> <@ if 3 + 2 = 5 then "hello" + "world" else "goodbye" + "world" @> |>
unquote;;
if 3 + 2 = 5 then "hello" + "world" else "goodbye" + "world"
if 5 = 5 then "helloworld" else "goodbyeworld"
if true then "helloworld" else "goodbyeworld"
"helloworld"
We should have
> <@ if 3 + 2 = 5 then "hello" + "world" else "goodbye" + "world" @> |>
unquote;;
if 3 + 2 = 5 then "hello" + "world" else "goodbye" + "world"
if 5 = 5 then "helloworld" else "goodbye" + "world"
if true then "helloworld" else "goodbye" + "world"
"helloworld"
Original issue reported on code.google.com by stephen....@gmail.com on 30 Jun 2011 at 7:52
Reactions are currently unavailable