diff options
Diffstat (limited to 'tests/fields/tfieldindex.nim')
-rw-r--r-- | tests/fields/tfieldindex.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fields/tfieldindex.nim b/tests/fields/tfieldindex.nim index f0674af54..d11c1a8b2 100644 --- a/tests/fields/tfieldindex.nim +++ b/tests/fields/tfieldindex.nim @@ -14,7 +14,7 @@ proc indexOf*(t: typedesc, name: string): int = for n, x in fieldPairs(d): if n == name: return i i.inc - raise newException(EInvalidValue, "No field " & name & " in type " & + raise newException(EInvalidValue, "No field " & name & " in type " & astToStr(t)) echo TMyTuple.indexOf("b") |