diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-18 20:53:41 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-18 20:53:41 +0200 |
commit | feef109e60fd33ff350cbcf82298a7cae83bbd72 (patch) | |
tree | 8ffd0028e2401765a6a7d6100d5731bd9f3f0425 /compiler/msgs.nim | |
parent | 3af5a5d9e3604a903505a04d2747c04986e6042f (diff) | |
download | Nim-feef109e60fd33ff350cbcf82298a7cae83bbd72.tar.gz |
make tests green again
Diffstat (limited to 'compiler/msgs.nim')
-rw-r--r-- | compiler/msgs.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/msgs.nim b/compiler/msgs.nim index 9824f7c1c..151291ffb 100644 --- a/compiler/msgs.nim +++ b/compiler/msgs.nim @@ -282,6 +282,8 @@ proc toFileLineCol*(conf: ConfigRef; info: TLineInfo): string {.inline.} = proc `$`*(conf: ConfigRef; info: TLineInfo): string = toFileLineCol(conf, info) +proc `$`*(info: TLineInfo): string {.error.} = discard + proc `??`* (conf: ConfigRef; info: TLineInfo, filename: string): bool = # only for debugging purposes result = filename in toFilename(conf, info) |