> Note that if you use except/finally as a statement your code will do 
> unexpected things if you try to concatenate it into a single line with a 
> semicolon (see 
> [https://github.com/Araq/Nimrod/issues/412)](https://github.com/Araq/Nimrod/issues/412\)).

this bug has been fixed 
[https://github.com/nim-lang/Nim/issues/412](https://github.com/nim-lang/Nim/issues/412)

> Presumably working nimrod code matching your example would be: ...

IIRC now we use defer: instead of finally: for that although both seem to work. 
see also: 
[https://github.com/timotheecour/D_vs_nim/pull/20#issuecomment-377364528](https://github.com/timotheecour/D_vs_nim/pull/20#issuecomment-377364528)

Reply via email to