[Issue 9062] AddrExp should distinguish the existence of property resolution.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 23 05:00:34 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch


--- Comment #5 from timon.gehr at gmx.ch 2012-11-23 05:00:33 PST ---
Property functions should always be called regardless of context.

int g;
@property ref int foo() { return g; }

pragma(msg, typeof( & foo  ));  // will print "int*"
pragma(msg, typeof( &(foo) ));  // will print "int*"

-- 
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