fixing issue #396 ... issue with nested if/elses getting mis-nested.

This commit is contained in:
Jeremy Ashkenas
2010-06-12 19:38:14 -04:00
parent a8db2bcf10
commit b61399fbde
3 changed files with 8 additions and 2 deletions

View File

@@ -42,3 +42,9 @@ else
11
ok result is 11
# Nested inline if statements.
echo: (x) -> x
result: if true then echo((if false then 'xxx' else 'y') + 'a')
ok result is 'ya'