* fixes #12989
* Revert "remove unwanted changes"

This reverts commit 501829732a8e44deef2d815c303859efbe452cb5.
This commit is contained in:
cooldome 2019-12-31 20:13:26 +00:00 • committed by Andreas Rumpf
commit 584e8c8283
4 changed files with 20 additions and 10 deletions

View file

@ -23,3 +23,12 @@ test()
import tables
var t = initTable[string, seq[ptr int]]()
discard t.hasKeyOrPut("f1", @[])
#############################################
### bug #12989
proc bug(start: (seq[int], int)) =
let (s, i) = start
let input = @[0]
bug((input, 0))

View file

@ -28,7 +28,7 @@ proc test(): auto =
var (a, b, _) = test()
doAssert assign_counter == 0
doAssert sink_counter == 9 # XXX this is still silly and needs to be investigated
doAssert sink_counter == 6
# bug #11510
proc main =