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: nob...@puremagic.com
          Reporter: qs.il.paperi...@gmail.com

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

--

Reply via email to