diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-04-10 17:26:50 +0300 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2017-04-10 17:26:50 +0300 |
commit | f7b10e213b81588d560e37aa5f7c8b0d10ea5689 (patch) | |
tree | 29df85ab757f066769da0dac5c0afc31f3bd4bb3 /tests/template | |
parent | 8b63b84924ed9de9d8bd3f348eac597e186916a0 (diff) | |
download | Nim-f7b10e213b81588d560e37aa5f7c8b0d10ea5689.tar.gz |
support post expression blocks in return and yield
Diffstat (limited to 'tests/template')
-rw-r--r-- | tests/template/tgensymregression.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template/tgensymregression.nim b/tests/template/tgensymregression.nim index 0fadbde41..4cc64a831 100644 --- a/tests/template/tgensymregression.nim +++ b/tests/template/tgensymregression.nim @@ -59,14 +59,13 @@ template wrap(body: typed): untyped = macro makeProc(): typed = # Make a template tree - result = (quote do: + result = quote do: proc someProc* = wrap do: let x = 123 # Implicit conversion here let s: string = x echo s - ) makeProc() |