Skip to content

Commit a47b3d7

Browse files
Update src/parse.jl
Co-authored-by: Nick Robinson <npr251@gmail.com>
1 parent 0ce31ce commit a47b3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ end
174174
# We return a value of T -- i.e. the _integer_ backing the FixedDecimal, the reintrpret needs to happen later
175175
@inline function Parsers.typeparser(conf::FixedDecimalConf{T}, source, pos, len, b, code, pl, options) where {T<:Integer}
176176
if !(options.rounding in (nothing, RoundNearest, RoundToZero, RoundThrows))
177-
throw(ArgumentError("Unhandled rounding mode $options.rounding"))
177+
throw(ArgumentError("Unhandled rounding mode $(options.rounding)"))
178178
end
179179

180180
startpos = pos

0 commit comments

Comments
 (0)