mirror of https://github.com/status-im/NimYAML.git
Change deprecated type pragma syntax
Sorry that this messes with the style here, but it would be nice to have this syntax removed given how long it's been deprecated (https://github.com/nim-lang/Nim/pull/20199).
This commit is contained in:
parent
947207dd02
commit
c7d8aa6467
|
@ -54,8 +54,7 @@ type
|
|||
mapStyle*: CollectionStyle
|
||||
# compiler does not like Table[YamlNode, YamlNode]
|
||||
|
||||
YamlDocument* = object
|
||||
{.deprecated: "use YamlNode with serialization API instead".}
|
||||
YamlDocument* {.deprecated: "use YamlNode with serialization API instead".} = object
|
||||
## Represents a YAML document.
|
||||
root*: YamlNode
|
||||
|
||||
|
|
Loading…
Reference in New Issue