typeToString: type float => typedesc[float] (#17011)

* typeToString: type float => typedesc[float]

* fixup

* fix tests
This commit is contained in:
Timothee Cour 2021-02-12 08:10:20 -08:00 • committed by GitHub
commit e40ff24c23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 21 additions and 18 deletions

View file

@ -1,10 +1,10 @@
discard """
errormsg: "invalid type: 'type Table' for const"
errormsg: "invalid type: 'typedesc[Table]' for const"
file: "typedescs2.nim"
line: 16
"""
# issue #9961
# bug #9961
import typetraits
import tables