fixes #1928
This commit is contained in:
parent
9dfd8fea12
commit
b5a8e34ae7
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ proc getSimpleTypeDesc(m: BModule, typ: PType): PRope =
|
||||||
of tyNil: result = typeNameOrLiteral(typ, "0")
|
of tyNil: result = typeNameOrLiteral(typ, "0")
|
||||||
of tyInt..tyUInt64:
|
of tyInt..tyUInt64:
|
||||||
result = typeNameOrLiteral(typ, NumericalTypeToStr[typ.kind])
|
result = typeNameOrLiteral(typ, NumericalTypeToStr[typ.kind])
|
||||||
of tyDistinct, tyRange: result = getSimpleTypeDesc(m, typ.sons[0])
|
of tyDistinct, tyRange, tyOrdinal: result = getSimpleTypeDesc(m, typ.sons[0])
|
||||||
else: result = nil
|
else: result = nil
|
||||||
|
|
||||||
proc getTypePre(m: BModule, typ: PType): PRope =
|
proc getTypePre(m: BModule, typ: PType): PRope =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue