fixes #2221
This commit is contained in:
parent
16adfcdfa6
commit
508e8bd686
2 changed files with 26 additions and 4 deletions
9
tests/generics/tableref_is_nil.nim
Normal file
9
tests/generics/tableref_is_nil.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
output: "true"
|
||||
"""
|
||||
|
||||
# bug #2221
|
||||
import tables
|
||||
|
||||
var tblo: TableRef[string, int]
|
||||
echo tblo == nil
|
||||
Loading…
Add table
Add a link
Reference in a new issue