Skip to content

Commit

Permalink
Nim v2.0.10 chronicles.error/macros.error ambiguity workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec committed Oct 6, 2024
1 parent d15bbf2 commit f2cef4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fluffy/eth_data/yaml_utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@

import std/streams, yaml, results, yaml/parser, yaml/presenter

export yaml
# `except error` is Nim v2.0.10 workaround to avoid ambiguity with
# chronicles.error. If Nim version later than v2.0.10 fix this, it
# can be removed.
export yaml except error

type YamlPortalContent* = object
content_key*: string
Expand Down

0 comments on commit f2cef4e

Please sign in to comment.