[Issue 16360] DMD fails to inline functions that contain a type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 13 17:15:10 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16360

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
                 CC|                            |ag0aep6g at gmail.com
           Severity|normal                      |enhancement

--- Comment #2 from ag0aep6g at gmail.com ---
I'm removing the "wrong-code" keyword, and downgrading this to an enhancement
request.

A wrong-code bug is when incorrect machine code is generated. The test case
must compile and link for that, but dmd rejects the test case.

It's only an enhancement request, because the spec explicitly allows the
compiler to error out when it can't inline a function that has pragma(inline,
true).

--


More information about the Digitalmars-d-bugs mailing list