summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-07-22 16:32:56 +0200
committerAraq <rumpf_a@web.de>2015-07-22 16:32:56 +0200
commitb0b716fca73293328d4290d6407f9f3cbcdfe164 (patch)
tree06d8f84489960e8be1b66558a10c1c4c68b98093 /compiler/ast.nim
parent862ee8d1d3f76dbbae0866f9048292a74fc07b71 (diff)
downloadNim-b0b716fca73293328d4290d6407f9f3cbcdfe164.tar.gz
fixes #3079, fixes #1146, fixes #2879
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 83d170e26..3a4158204 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -525,6 +525,8 @@ const
   tfOldSchoolExprStmt* = tfVarargs # for now used to distinguish \
     # 'varargs[expr]' from 'varargs[untyped]'. Eventually 'expr' will be
     # deprecated and this mess can be cleaned up.
+  tfVoid* = tfVarargs # for historical reasons we conflated 'void' with
+                      # 'empty' ('@[]' has the type 'seq[empty]').
   skError* = skUnknown
 
   # type flags that are essential for type equality: