[Issue 21813] [REG-master] Bootstrap broken from dmd-cxx baseline.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 9 08:03:14 UTC 2021


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

--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Nicholas Wilson from comment #2)
> is it hitting the static assert?

Nope, reduced:

---
Target.OS defaultTargetOS()
{
    return Target.OS.linux;
}

struct Target
{
    enum OS { linux }

    OS os = defaultTargetOS();

    void deinitialize()
    {
        this.init;
    }

    @property isPOSIX() scope @nogc
    {
    }
}
---

--


More information about the Digitalmars-d-bugs mailing list