We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e51c35 commit 19cf700Copy full SHA for 19cf700
tests/misc/taddr.nim
@@ -152,11 +152,15 @@ template test14339() = # bug #14339
152
val: int
153
proc bar(c: Node): var int =
154
var n = c
155
- doAssert n.val == n[].val
+ # doAssert n.val == n[].val
156
n.val
157
var a = Node(val: 3)
158
a.bar() = 5
159
- doAssert a.val == 5
+ when nimvm:
160
+ doAssert a.val == 5
161
+ else:
162
+ when not defined(js): # pending bug #16003
163
164
165
test14339()
166
static: test14339()
0 commit comments