summary refs log tree commit diff stats
path: root/compiler/semdata.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-02-17 00:59:18 +0200
committerZahary Karadjov <zahary@gmail.com>2014-02-17 03:03:17 +0200
commit9dd753f218cb3f8a3460d66cf4f917fab74eb233 (patch)
tree7e7a33be0791e167ab88f0989d605aedb4ee34c7 /compiler/semdata.nim
parent9a41db7d7abaf92dbdef425605f68454d48b22b2 (diff)
downloadNim-9dd753f218cb3f8a3460d66cf4f917fab74eb233.tar.gz
quite messy implementation of generic lambdas, needs reworking; fixes #715
Diffstat (limited to 'compiler/semdata.nim')
-rw-r--r--compiler/semdata.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semdata.nim b/compiler/semdata.nim
index 234526054..df58c896f 100644
--- a/compiler/semdata.nim
+++ b/compiler/semdata.nim
@@ -81,6 +81,7 @@ type
     semOverloadedCall*: proc (c: PContext, n, nOrig: PNode,
                               filter: TSymKinds): PNode {.nimcall.}
     semTypeNode*: proc(c: PContext, n: PNode, prev: PType): PType {.nimcall.}
+    semInferredLambda*: proc(c: PContext, pt: TIdTable, n: PNode): PNode
     semGenerateInstance*: proc (c: PContext, fn: PSym, pt: TIdTable,
                                 info: TLineInfo): PSym
     includedFiles*: TIntSet    # used to detect recursive include files