fixes #1286; object case transitions are now sound
This commit is contained in:
parent
247fa431de
commit
49e686ab4e
14 changed files with 123 additions and 166 deletions
|
|
@ -70,8 +70,7 @@ const
|
|||
|
||||
proc newXmlNode(kind: XmlNodeKind): XmlNode =
|
||||
## Creates a new ``XmlNode``.
|
||||
new(result)
|
||||
result.k = kind
|
||||
result = XmlNode(k: kind)
|
||||
|
||||
proc newElement*(tag: string): XmlNode =
|
||||
## Creates a new ``XmlNode`` of kind ``xnElement`` with the given `tag`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue