← Back to index
|
Original Bugzilla link
Bug 17511 – [REG 2.075a] std.xml puts grand-children into items
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-06-15T19:07:37Z
Last change time
2018-01-05T13:29:21Z
Keywords
pull
Assigned to
No Owner
Creator
ag0aep6g
Comments
Comment #0
by ag0aep6g — 2017-06-15T19:07:37Z
---- import std.xml; void main() { auto doc = new Document("<root><child><grandchild/></child></root>"); assert(doc.elements.length == 1); assert(doc.elements[0].tag.name == "child"); assert(doc.items == doc.elements); } ---- Introduced by <
https://github.com/dlang/phobos/pull/5380
>. Pull request reverting the bad commit and adding a test:
https://github.com/dlang/phobos/pull/5489
Comment #1
by github-bugzilla — 2017-06-15T20:20:40Z
Commit pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/c7b6b87333fe731962f38a8a6ac0a3b5f675be06
test against regression fixes issue 17511
Comment #2
by github-bugzilla — 2017-06-17T11:35:13Z
Commit pushed to stable at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/c7b6b87333fe731962f38a8a6ac0a3b5f675be06
test against regression
Comment #3
by github-bugzilla — 2018-01-05T13:29:21Z
Commit pushed to dmd-cxx at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/c7b6b87333fe731962f38a8a6ac0a3b5f675be06
test against regression