[Issue 19463] New: DIP1008 is broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Dec 3 13:54:28 UTC 2018
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 at puremagic.com
Reporter: mihails.strasuns at 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
```
--
More information about the Digitalmars-d-bugs
mailing list