www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19463] New: DIP1008 is broken

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

          Issue ID: 19463
           Summary: DIP1008 is broken
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: mihails.strasuns gmail.com

Results in ` nogc` annotation being ignored while GC allocations still happens:

```
void main ()  nogc
{
    throw new Exception("wat");
}
```

```
dmd -g -dip1008 test.d
```

```
Breakpoint 1, 0x0000555555589ddc in gc_malloc ()
(gdb) bt



```

--
Dec 03 2018