fixes #433
This commit is contained in:
parent
8fd274038e
commit
9f6547ba63
4 changed files with 28 additions and 15 deletions
10
tests/reject/ttypenovalue.nim
Normal file
10
tests/reject/ttypenovalue.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
errormsg: "value expected, but got a type"
|
||||
line: 7
|
||||
"""
|
||||
|
||||
proc crashAndBurn() =
|
||||
var stuff = seq[tuple[title, body: string]]
|
||||
|
||||
|
||||
crashAndBurn()
|
||||
Loading…
Add table
Add a link
Reference in a new issue