$typeof(nil) is now "typeof(nil)", not "nil"
This commit is contained in:
parent
efe1bed82e
commit
a6428657e9
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ proc rangeToStr(n: PNode): string =
|
|||
|
||||
const
|
||||
typeToStr: array[TTypeKind, string] = ["None", "bool", "char", "empty",
|
||||
"Alias", "nil", "untyped", "typed", "typeDesc",
|
||||
"Alias", "typeof(nil)", "untyped", "typed", "typeDesc",
|
||||
"GenericInvocation", "GenericBody", "GenericInst", "GenericParam",
|
||||
"distinct $1", "enum", "ordinal[$1]", "array[$1, $2]", "object", "tuple",
|
||||
"set[$1]", "range[$1]", "ptr ", "ref ", "var ", "seq[$1]", "proc",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue