Skip to content

Commit

Permalink
reference bug nim-lang#16003
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Nov 16, 2020
1 parent a04c7a0 commit b71eb08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/misc/taddr.nim
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ template test14339() = # bug #14339
n.val
var a = Node(val: 3)
a.bar() = 5
doAssert a.val == 5
when nimvm:
doAssert a.val == 5
else:
when not defined(js): # pending bug #16003
doAssert a.val == 5

test14339()
static: test14339()

0 comments on commit b71eb08

Please sign in to comment.