December 03, 2018 [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 #0 0x0000555555589ddc in gc_malloc () #1 0x0000555555587d76 in _d_newclass () #2 0x0000555555586a24 in D main () at test.d:3 ``` -- |
Copyright © 1999-2021 by the D Language Foundation