parent
31ba27590c
commit
76ffa4fa25
6 changed files with 27 additions and 1 deletions
5
tests/js/t11697.nim
Normal file
5
tests/js/t11697.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import tables
|
||||
|
||||
var xs: Table[int, Table[int, int]]
|
||||
|
||||
doAssertRaises(KeyError): reset xs[0]
|
||||
8
tests/js/temptyseq.nim
Normal file
8
tests/js/temptyseq.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# #12671
|
||||
|
||||
proc foo =
|
||||
var x: seq[int]
|
||||
doAssertRaises(IndexError):
|
||||
inc x[0]
|
||||
|
||||
foo()
|
||||
Loading…
Add table
Add a link
Reference in a new issue