digitalmars.D.bugs - [Issue 16241] New: std.xml mistakenly disallows "==" in comments but
- via Digitalmars-d-bugs (25/25) Jul 06 2016 https://issues.dlang.org/show_bug.cgi?id=16241
https://issues.dlang.org/show_bug.cgi?id=16241 Issue ID: 16241 Summary: std.xml mistakenly disallows "==" in comments but allows "--" Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: ag0aep6g gmail.com ---- void main() { import std.xml; auto doc1 = new Document("<r><!-- -- --></r>"); /* accepted */ auto doc2 = new Document("<r><!-- == --></r>"); /* rejected */ } ---- Should be the other way around. Seems like a simple typo in the code. Going to make a PR. --
Jul 06 2016