Closed boris-petrov closed 11 years ago
The following code:
foo = (callback) -> do callback console.log 1 switch 'asd' when 'foo' await foo defer() when 'bar' x = 1 console.log 2
Outputs only "1" while it should output a "2" too. If you put a:
when 'asd' x = 2
In the switch, then it works fine. But if none of the cases are matched, then Iced "blocks".
I'll check it out, this does look like a bug. Thanks.
Closed, thanks for the bug report!
The following code:
Outputs only "1" while it should output a "2" too. If you put a:
In the switch, then it works fine. But if none of the cases are matched, then Iced "blocks".