diff options
author | Araq <rumpf_a@web.de> | 2014-08-30 20:16:35 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-30 20:16:35 +0200 |
commit | 0257f389fef6492906e47761f7e366921113bba6 (patch) | |
tree | de384ba83fe75487d4d14f38bb0456855a087658 /compiler/semmagic.nim | |
parent | 5fad73c8d0416133a418ec0c0c8bd4c279ae2ada (diff) | |
download | Nim-0257f389fef6492906e47761f7e366921113bba6.tar.gz |
fixes #1366
Diffstat (limited to 'compiler/semmagic.nim')
-rw-r--r-- | compiler/semmagic.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/semmagic.nim b/compiler/semmagic.nim index 7b612c806..a72a6ab7d 100644 --- a/compiler/semmagic.nim +++ b/compiler/semmagic.nim @@ -126,7 +126,7 @@ proc magicsAfterOverloadResolution(c: PContext, n: PNode, result.typ = getSysType(tyString) of mInstantiationInfo: result = semInstantiationInfo(c, n) of mOrd: result = semOrd(c, n) - of mHigh: result = semLowHigh(c, n, mHigh) + of mHigh, mLow: result = semLowHigh(c, n, n[0].sym.magic) of mShallowCopy: result = semShallowCopy(c, n, flags) of mNBindSym: result = semBindSym(c, n) of mLocals: result = semLocals(c, n) |