* fix #14350, cstrings in JS init as null
This commit is contained in:
parent
278b4582f5
commit
80c360fceb
4 changed files with 11 additions and 6 deletions
|
|
@ -70,3 +70,10 @@ block: # `$`(SomeInteger)
|
|||
testType uint64
|
||||
testType int64
|
||||
testType BiggestInt
|
||||
|
||||
block: # #14350 for JS
|
||||
var cstr: cstring
|
||||
doAssert cstr == cstring(nil)
|
||||
doAssert cstr == nil
|
||||
doAssert cstr.isNil
|
||||
doAssert cstr != cstring("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue