https://issues.dlang.org/show_bug.cgi?id=18494
--- Comment #1 from FeepingCreature ---
Reproduce:
class Class {
invariant { new Object; }
void foo() @nogc { }
}
void test() @nogc {
(new Class).foo;
}
void main() { test(); }
Expected: error about gc allocation in @nogc violation
Outcome
https://issues.dlang.org/show_bug.cgi?id=18494
Stanislav Blinov changed:
What|Removed |Added
CC||stanislav.bli...@gmail.com
See
https://issues.dlang.org/show_bug.cgi?id=18494
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P4
--