diff options
author | alaviss <alaviss@users.noreply.github.com> | 2018-11-26 12:02:37 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-26 13:02:37 +0100 |
commit | ac56d3b0ede8d3bf42be6a8c014288baeab1907d (patch) | |
tree | 21843eab27a24af42be8e626cfb4ca5b4610d29a /compiler/semmagic.nim | |
parent | eb919c35b29afee8fb26a2145d88f4db9e6c332b (diff) | |
download | Nim-ac56d3b0ede8d3bf42be6a8c014288baeab1907d.tar.gz |
fixes #7365
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 6ce6fc12e..df2c084a1 100644 --- a/compiler/semmagic.nim +++ b/compiler/semmagic.nim @@ -381,7 +381,7 @@ proc magicsAfterOverloadResolution(c: PContext, n: PNode, if n[0].sym.name.s == "=": result = semAsgnOpr(c, n) else: - result = n + result = semShallowCopy(c, n, flags) of mIsPartOf: result = semIsPartOf(c, n, flags) of mTypeTrait: result = semTypeTraits(c, n) of mAstToStr: |