[Issue 678] Compiler accepts, for a function T[] t(), t().ptr but not t.ptr

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 5 06:27:28 PST 2010


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


Witold Baryluk <baryluk at smp.if.uj.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baryluk at smp.if.uj.edu.pl


--- Comment #5 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-02-05 06:27:27 PST ---
The problem with this code is that compiler doesn't know if you ask for:
1) a pointer of the base of the void[] array returned from t (used as property)
2) or a pointer of the t function/delegatel

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


More information about the Digitalmars-d-bugs mailing list