typeToString: type float => typedesc[float] (#17011)
* typeToString: type float => typedesc[float] * fixup * fix tests
This commit is contained in:
parent
f57774e1e7
commit
e40ff24c23
13 changed files with 21 additions and 18 deletions
|
|
@ -1,9 +1,9 @@
|
|||
discard """
|
||||
cmd: "nim check $file"
|
||||
errormsg: "invalid type: 'type int' in this context: 'array[0..0, type int]' for var"
|
||||
errormsg: "invalid type: 'typedesc[int]' in this context: 'array[0..0, typedesc[int]]' for var"
|
||||
nimout: '''
|
||||
t9932.nim(10, 5) Error: invalid type: 'type' in this context: 'array[0..0, type]' for var
|
||||
t9932.nim(11, 5) Error: invalid type: 'type int' in this context: 'array[0..0, type int]' for var
|
||||
t9932.nim(11, 5) Error: invalid type: 'typedesc[int]' in this context: 'array[0..0, typedesc[int]]' for var
|
||||
'''
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue