From d012b609d4a45fb56ab0fe0d9bb81e3b3b7ae8fb Mon Sep 17 00:00:00 2001 From: Daniel Kozak Date: Wed, 26 Jul 2017 11:57:11 +0200 Subject: [PATCH] Workaround for https://issues.dlang.org/show_bug.cgi?id=17686 --- source/std/experimental/xml/domimpl.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/std/experimental/xml/domimpl.d b/source/std/experimental/xml/domimpl.d index b6ff961..7186682 100644 --- a/source/std/experimental/xml/domimpl.d +++ b/source/std/experimental/xml/domimpl.d @@ -147,6 +147,9 @@ class DOMImplementation(DOMString, Alloc = shared(GCAllocator), ErrorHandler = b { override { + /// Implementation of $(LINK2 ../dom/Node.ownerDocument, `std.experimental.xml.dom.Node.ownerDocument`). + @property Document ownerDocument() { return _ownerDocument; } + /// Implementation of $(LINK2 ../dom/Node.parentNode, `std.experimental.xml.dom.Node.parentNode`). @property Node parentNode() { return _parentNode; } /++ @@ -156,8 +159,6 @@ class DOMImplementation(DOMString, Alloc = shared(GCAllocator), ErrorHandler = b @property Node previousSibling() { return _previousSibling; } /// Implementation of $(LINK2 ../dom/Node.nextSibling, `std.experimental.xml.dom.Node.nextSibling`). @property Node nextSibling() { return _nextSibling; } - /// Implementation of $(LINK2 ../dom/Node.ownerDocument, `std.experimental.xml.dom.Node.ownerDocument`). - @property Document ownerDocument() { return _ownerDocument; } /++ + Implementation of $(LINK2 ../dom/Node.isSameNode, `std.experimental.xml.dom.Node.isSameNode`).