On Tuesday, 26 February 2019 at 04:36:59 UTC, James Blachly wrote:
Sadly, the pragma does not accept enum:

Error: pragma `inline` pragma(inline, true or false) expected, not inline_overlaps

That's most likely a (trivial) bug and should be fixed.

As stated in the docs, the pragma can also be declared as statement inside the function body:

bool overlaps(...)
{
    version (GDC) pragma(inline, true);
    ...
}

Reply via email to