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

--- Comment #9 from Manu <turkey...@gmail.com> ---
You're proposing that `pragma(inline, false)` is essentially a request for
force-not-inline though?
That's not the clear meaning.
Not-force-inline, or not logically the same as force-not-inline;
not-force-inline sounds like it may still be subject to the compilers
discretion.

So if,
pragma(inline, true) == absolutely-force-inline
pragma(inline, false) == force-not-inline
... what is the default un-opinionated state? How do we specify the 'hint'
request for a strong preference but not a hard error?

I just don't think the bool is the proper argument here; it should draw from an
enum of possibilities.
Perhaps the complete set is: (default, never, always, preferred [for the strong
hint])

--

Reply via email to