This commit is contained in:
Araq 2017-11-23 01:17:13 +01:00
commit df13b2a892
2 changed files with 13 additions and 1 deletions

View file

@ -23,4 +23,15 @@ var b = Obj() # this doesn't (also doesn't works with additional fields)
var z = Obj2[int]()
echo "success"
echo "success"
# bug #6555
import tables
type
TaskOrNil = ref object
Task = TaskOrNil not nil
let table = newTable[string, Task]()
table.del("task")