diff --git a/lib/system/hti.nim b/lib/system/hti.nim index bffe81bc85..6e6f109dee 100644 --- a/lib/system/hti.nim +++ b/lib/system/hti.nim @@ -58,7 +58,7 @@ type tyUInt64, tyOptAsRef, tyUnused1, tyUnused2, tyVarargsHidden, - tyUnusedHidden, + tyUncheckedArray, tyProxyHidden, tyBuiltInTypeClassHidden, tyUserTypeClassHidden, diff --git a/lib/system/repr.nim b/lib/system/repr.nim index 85701c28fb..ce7c349bd3 100644 --- a/lib/system/repr.nim +++ b/lib/system/repr.nim @@ -278,6 +278,8 @@ when not defined(useNimRtl): of tyProc, tyPointer: if cast[PPointer](p)[] == nil: add result, "nil" else: add result, reprPointer(cast[PPointer](p)[]) + of tyUncheckedArray: + add result, "[...]" else: add result, "(invalid data!)" inc(cl.recdepth)