minor changes to manual.txt

This commit is contained in:
Araq 2014-09-13 17:53:35 +02:00
commit e24996de7c
2 changed files with 14 additions and 9 deletions

View file

@ -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!