mirror of https://github.com/adamdruppe/arsd.git
overzealous invariant
This commit is contained in:
parent
8a7886a63d
commit
45ba42f711
2
dom.d
2
dom.d
|
@ -2989,7 +2989,7 @@ class Element {
|
|||
assert(child !is null);
|
||||
assert(child.parentNode is this, format("%s is not a parent of %s (it thought it was %s)", tagName, child.tagName, child.parentNode is null ? "null" : child.parentNode.tagName));
|
||||
assert(child !is this);
|
||||
assert(child !is parentNode);
|
||||
//assert(child !is parentNode);
|
||||
}
|
||||
|
||||
/+ // only depend on parentNode's accuracy if you shuffle things around and use the top elements - where the contracts guarantee it on out
|
||||
|
|
Loading…
Reference in New Issue