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

solidstate1991 laszloszeremi at outlook.com
Sat Sep 17 15:04:48 UTC 2022

Code found here: 

Even changing the code to this:

auto res = firstAttr;
     while (res)
         if (res.localName != localName || res.namespaceURI != 
             res = res._nextAttr;
     return res;

Does not always seem to call this: 

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 the debugger shows those 
strings are equal.

More information about the Digitalmars-d-learn mailing list