Nim/tests/typerel/ttypenovalue.nim
Timothee Cour e40ff24c23
typeToString: type float => typedesc[float] (#17011)
* typeToString: type float => typedesc[float]

* fixup

* fix tests
2021-02-12 17:10:20 +01:00

10 lines
200 B
Nim

discard """
errormsg: "invalid type: 'typedesc[seq[tuple[title: string, body: string]]]' for var"
line: 7
"""
proc crashAndBurn() =
var stuff = seq[tuple[title, body: string]]
crashAndBurn()