From 59d19946c034d343ab4f5b8ad57683ff9f80de85 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Wed, 13 Jun 2018 01:46:44 +0300 Subject: [PATCH] fix some breakage after rebasing --- compiler/semexprs.nim | 2 +- compiler/semtypes.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 82bd761367..238ae01945 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -561,7 +561,7 @@ proc hasUnresolvedArgs(c: PContext, n: PNode): bool = of nkSym: return isUnresolvedSym(n.sym) of nkIdent, nkAccQuoted: - let ident = considerQuotedIdent(c.config, n) + let ident = considerQuotedIdent(c, n) let sym = searchInScopes(c, ident) if sym != nil: return isUnresolvedSym(sym) diff --git a/compiler/semtypes.nim b/compiler/semtypes.nim index 2f16151f2e..f60b57d33d 100644 --- a/compiler/semtypes.nim +++ b/compiler/semtypes.nim @@ -1680,7 +1680,7 @@ proc processMagicType(c: PContext, m: PSym) = setMagicType(c.config, m, tyTypeDesc, 0) rawAddSon(m.typ, newTypeS(tyNone, c)) of mStatic: - setMagicType(m, tyStatic, 0) + setMagicType(c.config, m, tyStatic, 0) rawAddSon(m.typ, newTypeS(tyNone, c)) of mVoidType: setMagicType(c.config, m, tyVoid, 0)