* fixes #12989 * Revert "remove unwanted changes" This reverts commit 501829732a8e44deef2d815c303859efbe452cb5.
This commit is contained in:
parent
ce40ed18bb
commit
584e8c8283
4 changed files with 20 additions and 10 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue