that is correct. yet
template foo(p: untyped): auto = (block:
1
)
let x = foo:
discard
won't compile, while this will
let x = (block:
1
)
in fact, this compiles as well:
template foo(p: untyped): auto = (block:
1
)
let x = foo(3)
that's why I feel like it might a parsing problem (it doesn't compile only when
the arg is a block)
