diff options
-rw-r--r-- | compiler/types.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/types.nim b/compiler/types.nim index 6120877cb..4c8c244db 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -593,6 +593,7 @@ proc typeToString(typ: PType, prefer: TPreferedDesc = preferName): string = result = typeToStr[t.kind] result.addTypeFlags(t) + proc firstOrd*(conf: ConfigRef; t: PType): BiggestInt = case t.kind of tyBool, tyChar, tySequence, tyOpenArray, tyString, tyVarargs, tyProxy: |