Hello,what are the rules for @nogc inference? It looks like sometimes compiler can infer @nogc, but not in this simplest case:
int x() { return 1; } void main() @nogc { x(); } Thanks!
ikod via Digitalmars-d-learn Thu, 15 Nov 2018 13:06:03 -0800
Hello,what are the rules for @nogc inference? It looks like sometimes compiler can infer @nogc, but not in this simplest case:
int x() { return 1; } void main() @nogc { x(); } Thanks!