mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 18:34:43 +00:00
Fixed closure compiler incompatibility (#6365)
This commit is contained in:
committed by
Andreas Rumpf
parent
3c870d3bb9
commit
c35cc97b1e
@@ -1284,7 +1284,7 @@ else:
|
||||
result.add(x[i].convertObject())
|
||||
of JObject:
|
||||
result = newJObject()
|
||||
asm """for (property in `x`) {
|
||||
asm """for (var property in `x`) {
|
||||
if (`x`.hasOwnProperty(property)) {
|
||||
"""
|
||||
var nimProperty: cstring
|
||||
|
||||
Reference in New Issue
Block a user