summary refs log tree commit diff stats
path: root/compiler/evalffi.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-03-07 17:35:14 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-03-07 17:35:14 +0100
commitdf0473d75474b7b9579e440cc74a1efd41a3f6c8 (patch)
treea0da2bd5a2ab087ac30e3b1a606e67c0a49ec26d /compiler/evalffi.nim
parent569d1c80b314fceafd6d9f46817bf5790ac92f6d (diff)
parent3dcec3973936b64ef599b6792ad93e71b8acfe17 (diff)
downloadNim-df0473d75474b7b9579e440cc74a1efd41a3f6c8.tar.gz
Merge pull request #2239 from Maxdamantus/devel
interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
Diffstat (limited to 'compiler/evalffi.nim')
-rw-r--r--compiler/evalffi.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/evalffi.nim b/compiler/evalffi.nim
index b98679ac6..b1a23802d 100644
--- a/compiler/evalffi.nim
+++ b/compiler/evalffi.nim
@@ -164,6 +164,7 @@ proc packObject(x: PNode, typ: PType, res: pointer) =
       let field = getField(typ.n, i)
       pack(it, field.typ, res +! field.offset)
     else:
+      # XXX: todo
       globalError(x.info, "cannot pack unnamed tuple")
 
 const maxPackDepth = 20