summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-13 17:53:35 +0200
committerAraq <rumpf_a@web.de>2014-09-13 17:53:35 +0200
commite24996de7c7ef1b1e1bc7fe44b977e655a36864f (patch)
tree1e189344a8686b42cccc5ab514717762eb664637 /compiler
parent9d9c3fe12105c97441f2b2751f36775601655caa (diff)
downloadNim-e24996de7c7ef1b1e1bc7fe44b977e655a36864f.tar.gz
minor changes to manual.txt
Diffstat (limited to 'compiler')
-rw-r--r--compiler/semstmts.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semstmts.nim b/compiler/semstmts.nim
index aaddc84d0..5cb2eabf8 100644
--- a/compiler/semstmts.nim
+++ b/compiler/semstmts.nim
@@ -354,7 +354,7 @@ proc semVarOrLet(c: PContext, n: PNode, symkind: TSymKind): PNode =
       def = semExprWithType(c, a.sons[length-1], {efAllowDestructor})
       if typ != nil:
         if typ.isMetaType:
-          def = inferWithMetaType(c, typ, def)
+          def = inferWithMetatype(c, typ, def)
           typ = def.typ
         else:
           # BUGFIX: ``fitNode`` is needed here!