Skip to content

Commit

Permalink
make nimyaml works with stricteffects
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored and flyx committed Oct 14, 2022
1 parent 3e2f92c commit 7dd8e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaml/dom.nim
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ proc loadMultiDom*(s: Stream | string): seq[YamlDocument]
else: internalError("Unexpected exception: " & ex.parent.repr)

proc representChild*(value: YamlNodeObj, ts: TagStyle,
c: SerializationContext) =
c: SerializationContext) {.raises: [YamlSerializationError].} =
let childTagStyle = if ts == tsRootOnly: tsNone else: ts
case value.kind
of yScalar:
Expand Down

0 comments on commit 7dd8e88

Please sign in to comment.