mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-13 13:05:52 +00:00
make nimyaml works with stricteffects
This commit is contained in:
parent
3e2f92c753
commit
7dd8e88639
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user