.error for routines now can also have a custom error message; improve error message for 'nil' strings

This commit is contained in:
Araq 2018-09-25 00:28:39 +02:00
commit 548fc778c9
4 changed files with 33 additions and 15 deletions

View file

@ -81,6 +81,7 @@ proc initDefines*(symbols: StringTableRef) =
defineSymbol("nimAshr")
defineSymbol("nimNoNilSeqs")
defineSymbol("nimNoNilSeqs2")
defineSymbol("nimHasUserErrors")
defineSymbol("nimHasNilSeqs")
for f in low(Feature)..high(Feature):