[Issue 16690] New: New debug experience: "Children could not be evaluated" popup with zero length slices (ie, null ptr)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Nov 15 18:01:18 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16690
Issue ID: 16690
Summary: New debug experience: "Children could not be
evaluated" popup with zero length slices (ie, null
ptr)
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: visuald
Assignee: nobody at puremagic.com
Reporter: turkeyman at gmail.com
null slices show "Children could not be evaluated" when hovering.
It would be nice if the normal expansion worked, but it was empty instead (no
children listed). The error message leads you to think something is wrong; bad
pointer or something. (yes, null *is* a bad pointer, but if length == 0, any
pointer should be accepted without producing the error)
Same story for null strings obviously.
--
More information about the Digitalmars-d-bugs
mailing list