Re: Why this function just decides to not call another function and do its thing instead?

2022-09-17 Thread Ali Çehreli via Digitalmars-d-learn
On 9/17/22 10:14, frame wrote: On Saturday, 17 September 2022 at 15:04:48 UTC, solidstate1991 wrote: And then instead just decides that the `localName` and `namespaceURI` pairs are not equal, and in those cases the Visual Studio debugger doesn't detect any entering into any of the

Re: Why this function just decides to not call another function and do its thing instead?

2022-09-17 Thread frame via Digitalmars-d-learn
On Saturday, 17 September 2022 at 15:04:48 UTC, solidstate1991 wrote: And then instead just decides that the `localName` and `namespaceURI` pairs are not equal, and in those cases the Visual Studio debugger doesn't detect any entering into any of the `DOMString.equals` overrides, all while

Why this function just decides to not call another function and do its thing instead?

2022-09-17 Thread solidstate1991 via Digitalmars-d-learn
Code found here: https://github.com/ZILtoid1991/newxml/blob/main/source/newxml/domimpl.d#L1984 Even changing the code to this: ```d auto res = firstAttr; while (res) { if (res.localName != localName || res.namespaceURI != namespaceURI) res = res._nextAttr;