summary refs log tree commit diff stats
path: root/compiler/seminst.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/seminst.nim')
-rwxr-xr-xcompiler/seminst.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/seminst.nim b/compiler/seminst.nim
index a2f4129ea..47806af62 100755
--- a/compiler/seminst.nim
+++ b/compiler/seminst.nim
@@ -172,7 +172,7 @@ proc generateInstance(c: PContext, fn: PSym, pt: TIdTable,
       semParamList(c, n.sons[ParamsPos], nil, result)
   else:
     result.typ = newTypeS(tyProc, c)
-    addSon(result.typ, nil)
+    rawAddSon(result.typ, nil)
   result.typ.callConv = fn.typ.callConv
   ParamsTypeCheck(c, result.typ)
   var oldPrc = GenericCacheGet(c, entry)