www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16690] New: New debug experience: "Children could not be

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 puremagic.com
          Reporter: turkeyman 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.

--
Nov 15 2016