http://bugzilla.gdcproject.org/show_bug.cgi?id=179

--- Comment #6 from Iain Buclaw <ibuc...@gdcproject.org> ---
Reduced:
---
struct SignalImpl
{
    @disable this(this);
}

struct RestrictedSignal
{
    SignalImpl mImpl;
    void connect() { }
}

struct Signal
{
    RestrictedSignal mRestricted;
}

class MyObject
{
    Signal valueChangedSg;
    ref RestrictedSignal valueChanged()
    {
        return valueChangedSg.mRestricted;
    }
}

int main ()
{
    MyObject a = new MyObject;
    a.valueChanged().connect();
    return 0;
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to