diff options
author | cooldome <ariabushenko@bk.ru> | 2018-06-12 23:20:34 +0100 |
---|---|---|
committer | cooldome <ariabushenko@bk.ru> | 2018-06-12 23:20:34 +0100 |
commit | 3dd61d6fff794d29ae48f682488819e1c320f346 (patch) | |
tree | 566305fd22294cdf8c1ba4d3056d8682edcbe5a0 /compiler | |
parent | 37aa488f99033fe9d7debfd6b8129a4a3f26c6e4 (diff) | |
download | Nim-3dd61d6fff794d29ae48f682488819e1c320f346.tar.gz |
Manual merge
Diffstat (limited to 'compiler')
-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: |