Files
Nim/tests/errmsgs/t8610.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

6 lines
99 B
Nim

discard """
errormsg: "invalid type: 'typedesc[int]' for const"
"""
## bug #8610
const Foo = int