http://d.puremagic.com/issues/show_bug.cgi?id=678


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_h...@eml.cc


--- Comment #6 from bearophile_h...@eml.cc 2010-11-26 13:55:18 PST ---
This situations will be partially cleaned up when functions/delegates calls
will require ().

The specs need to specify what's the behaviour of using the .ptr of a @property
delegate that returns an array (or that returns anything that has a ptr field):

void main() {
    @property int[] delegate() bar1 = { return [1, 2]; };
    struct Foo { int* ptr; }
    @property Foo delegate() bar2 = { return Foo(); };
    auto x1 = bar1.ptr;
    auto x2 = bar2.ptr;
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to