Semfold for nil cast (#16030)
* bring back the semfold of nil * remove space * fix test * proc type can't be dereferenced
This commit is contained in:
parent
33d79b9e64
commit
87d3e5331a
3 changed files with 8 additions and 5 deletions
|
|
@ -70,6 +70,7 @@ block:
|
|||
static:
|
||||
doAssert cast[RootRef](nil).repr == "nil"
|
||||
|
||||
block:
|
||||
static:
|
||||
doAssert cast[cstring](nil).repr == "nil"
|
||||
# Issue #15730, not fixed yet
|
||||
# block:
|
||||
# static:
|
||||
# doAssert cast[cstring](nil).repr == "nil"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue