diff options
author | Araq <rumpf_a@web.de> | 2014-09-11 09:53:00 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-11 09:53:00 +0200 |
commit | 46bbae47455f5cefdec78251d8078ae07014bef6 (patch) | |
tree | aa3f8253fee8b5e7d119a3f41cd28d84ca3dfe0d /compiler/semmagic.nim | |
parent | 24afab2a95eb761f59ae0f2797e5803c9e2bdd41 (diff) | |
download | Nim-46bbae47455f5cefdec78251d8078ae07014bef6.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 f943e7006..d4aeba32a 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) |