mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-29 01:51:43 +00:00
* fix #14350, cstrings in JS init as null
This commit is contained in:
@@ -62,8 +62,8 @@ block:
|
||||
result = result and obj1.`&&`.addr[] == "bar".cstring
|
||||
result = result and obj2.`if` == 0
|
||||
result = result and obj2.`for` == 0
|
||||
result = result and obj2.`==`.len == 0
|
||||
result = result and obj2.`&&`.len == 0
|
||||
result = result and obj2.`==`.isNil
|
||||
result = result and obj2.`&&`.isNil
|
||||
echo test()
|
||||
|
||||
# Test codegen for fields with uppercase letters:
|
||||
|
||||
Reference in New Issue
Block a user