digitalmars.D.bugs - [Issue 14690] New: pragma(inline, true) functions must have their
- via Digitalmars-d-bugs (25/25) Jun 11 2015 https://issues.dlang.org/show_bug.cgi?id=14690
https://issues.dlang.org/show_bug.cgi?id=14690 Issue ID: 14690 Summary: pragma(inline, true) functions must have their bodies emitted in the .di file Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: andrei erdani.com Consider: pragma(inline, true) int fun(int a, int b) { return 3; } Upon converting to .di, the code becomes: pragma(inline, true)int fun(int a, int b); Inline functions should have their bodies generated in the .di file for obvious reasons. --
Jun 11 2015