Closed ldemailly closed 2 months ago
unless(5 > 11, println("macro test 1: lower ok"), println("BUG: not lower")) unless(10 > 5, println("BUG: not greater"), println("macro test 2: greater")) // should output "macro test: greater" and not again "lower ok"
actually currently prints
macro test: lower ok macro test: lower ok
also unable to get
NoErr = macro(expr,a,b) { quote( r = catch(unquote(expr)) if r.err { error("unexpected error:", r.value) unquote(a) } else { unquote(b) } ) }
to work... complains about expr being unknown...
it's basically #20
fixed in #225
actually currently prints
also unable to get
to work... complains about expr being unknown...