This commit is contained in:
Araq
2014-11-12 02:56:02 +01:00
parent 29b1709fc4
commit 77353b8084

View File

@@ -330,7 +330,7 @@ proc getSimpleTypeDesc(m: BModule, typ: PType): PRope =
of tyNil: result = typeNameOrLiteral(typ, "0")
of tyInt..tyUInt64:
result = typeNameOrLiteral(typ, NumericalTypeToStr[typ.kind])
of tyRange: result = getSimpleTypeDesc(m, typ.sons[0])
of tyDistinct, tyRange: result = getSimpleTypeDesc(m, typ.sons[0])
else: result = nil
proc getTypePre(m: BModule, typ: PType): PRope =