diff options
author | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-14 18:34:56 -0500 |
---|---|---|
committer | Ganesh Viswanathan <dev@genotrance.com> | 2018-09-14 18:34:56 -0500 |
commit | 80520eef3cce0b3145dedc71a6652429adb9cc9e (patch) | |
tree | d64725d2749cb82bfef997bbbdb443cc4827de6d /lib/pure/strscans.nim | |
parent | e07a256f74b9e89e49287c8a21c1334af43e27c2 (diff) | |
parent | b9dc486db15bb1b4b6f3cef7626733b904d377f7 (diff) | |
download | Nim-80520eef3cce0b3145dedc71a6652429adb9cc9e.tar.gz |
Merge remote-tracking branch 'upstream/devel' into test-6483
Diffstat (limited to 'lib/pure/strscans.nim')
-rw-r--r-- | lib/pure/strscans.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/strscans.nim b/lib/pure/strscans.nim index b17eee6ff..734317e67 100644 --- a/lib/pure/strscans.nim +++ b/lib/pure/strscans.nim @@ -317,7 +317,7 @@ macro scanf*(input: string; pattern: static[string]; results: varargs[typed]): b template at(s: string; i: int): char = (if i < s.len: s[i] else: '\0') template matchError() = - error("type mismatch between pattern '$" & pattern[p] & "' (position: " & $p & ") and " & $getType(results[i]) & + error("type mismatch between pattern '$" & pattern[p] & "' (position: " & $p & ") and " & repr(getType(results[i])) & " var '" & repr(results[i]) & "'") var i = 0 |