Skip to content

Commit

Permalink
A raises list matching nim-serialization's requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
zah committed Sep 14, 2022
1 parent 544bc9e commit 4879c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toml_serialization/reader.nim
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ proc decodeInlineTable[T](r: var TomlReader, value: var T) =
template getUnderlyingType*[T](_: Option[T]): untyped = T

proc readValue*[T](r: var TomlReader, value: var T)
{.raises: [SerializationError, IOError, ValueError, Defect].} =
{.raises: [SerializationError, IOError, Defect].} =
mixin readValue

when value is Option:
Expand Down

0 comments on commit 4879c88

Please sign in to comment.