www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24619] New: [DIP1000] Allow pointer slicing for slices of

https://issues.dlang.org/show_bug.cgi?id=24619

          Issue ID: 24619
           Summary: [DIP1000] Allow pointer slicing for slices of length 0
                    or 1
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: qs.il.paperinik gmail.com

Allow `(&x)[0 .. 1]` (and `(&x)[0 .. 0]`) in ` safe` code.

--
Jun 20