diff options
author | flywind <43030857+xflywind@users.noreply.github.com> | 2020-10-31 19:06:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 12:06:13 +0100 |
commit | 80b0748d75fe70febd89f02cf419e1644f67350d (patch) | |
tree | a9091cb17c75fa221a17c5bdf67829b86b2c2f23 /compiler/jsgen.nim | |
parent | 8115b655e77297e3d1ede5889de211a6a4dbad7b (diff) | |
download | Nim-80b0748d75fe70febd89f02cf419e1644f67350d.tar.gz |
fix #15651 (#15800)
* fix * minor
Diffstat (limited to 'compiler/jsgen.nim')
-rw-r--r-- | compiler/jsgen.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/jsgen.nim b/compiler/jsgen.nim index 766e6a80d..cd14f1cf9 100644 --- a/compiler/jsgen.nim +++ b/compiler/jsgen.nim @@ -1927,6 +1927,7 @@ proc genRepr(p: PProc, n: PNode, r: var TCompRes) = genReprAux(p, n, r, "reprJSONStringify") else: genReprAux(p, n, r, "reprAny", genTypeInfo(p, t)) + r.kind = resExpr proc genOf(p: PProc, n: PNode, r: var TCompRes) = var x: TCompRes |