Skip to content

Commit

Permalink
Replaced remaining with
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 23, 2025
1 parent 68ca77c commit ad410e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/xylophone.Xml.scala
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ object Xml:
case id =>
XmlAst.Comment(t"unrecognized node $id")

(readNode(root.getDocumentElement.nn): @unchecked) match
readNode(root.getDocumentElement.nn).runtimeChecked match
case elem@XmlAst.Element(_, _, _, _) => XmlDoc(XmlAst.Root(elem))

def normalize(xml: Xml): List[XmlAst] raises XmlAccessError =
Expand Down

0 comments on commit ad410e3

Please sign in to comment.