From 7dd8e88639b86f43d0a76f7c3763234c68741026 Mon Sep 17 00:00:00 2001 From: xflywind <43030857+ringabout@users.noreply.github.com> Date: Fri, 14 Oct 2022 22:26:39 +0800 Subject: [PATCH] make nimyaml works with stricteffects --- yaml/dom.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml/dom.nim b/yaml/dom.nim index 0bb8ac9..ae3dbf9 100644 --- a/yaml/dom.nim +++ b/yaml/dom.nim @@ -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: