summary refs log tree commit diff stats
path: root/tests/fields
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2017-07-25 09:28:23 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-07-25 09:28:23 +0200
commit000b8afd26fa16684a116d9afe798ea94df9c270 (patch)
treee5295df748b90c5027e44adfa3a442031534572c /tests/fields
parent52ff244d5d2775fa4d13f4e2b9a996f411281312 (diff)
downloadNim-000b8afd26fa16684a116d9afe798ea94df9c270.tar.gz
Remove expr/stmt (#5857)
Diffstat (limited to 'tests/fields')
-rw-r--r--tests/fields/tfields_in_template.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fields/tfields_in_template.nim b/tests/fields/tfields_in_template.nim
index 9352a7a51..b7d5d2343 100644
--- a/tests/fields/tfields_in_template.nim
+++ b/tests/fields/tfields_in_template.nim
@@ -9,7 +9,7 @@ for name, value in (n: "v").fieldPairs:
   echo name
 
 # This doesn't compile - "expression 'name' has no type (or is ambiguous)".
-template wrapper: stmt =
+template wrapper: typed =
   for name, value in (n: "v").fieldPairs:
     echo name
 wrapper()