mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
fixing issue #396 ... issue with nested if/elses getting mis-nested.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user