This commit is contained in:
Andreas Rumpf 2020-03-16 23:00:26 +01:00
commit 955b31a7d9

View file

@ -47,5 +47,5 @@ template formatStr*(howExpr, namegetter, idgetter): untyped =
i += 1 i += 1
val.add(namegetter) val.add(namegetter)
else: else:
raise newException(Exception, "Syntax error in format string at " & $i) raise newException(ValueError, "Syntax error in format string at " & $i)
val val