[Issue 20364] New: [REG2.069] changing length for array of typeof(null) elements kills program

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 6 17:35:01 UTC 2019


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

          Issue ID: 20364
           Summary: [REG2.069] changing length for array of typeof(null)
                    elements kills program
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: sahmi.soulaimane at gmail.com

Test case:

```
void main()
{
    typeof(null)[] result;
    result.length = 1;
}
```

--


More information about the Digitalmars-d-bugs mailing list