[Issue 2409] property is not called

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2409

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|2.019   |D2

--


[Issue 2409] property is not called

2013-04-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2409


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME


--- Comment #3 from Kenji Hara k.hara...@gmail.com 2013-04-07 04:34:08 PDT ---
OP code works in 2.063a (git head: aa767b0d7fe1616010a6caf205918f29aa4560a1)

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


[Issue 2409] property is not called

2012-08-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2409


Adam D. Ruppe destructiona...@gmail.com changed:

   What|Removed |Added

 CC||destructiona...@gmail.com


--- Comment #2 from Adam D. Ruppe destructiona...@gmail.com 2012-08-04 
09:38:06 PDT ---
Now that there's the @property decoration, I think it's about time we make this
actually work right. It's been wrong a long time.

I think whenever the compiler sees an expression that is an @property, it
should immediately rewrite it into the function call, so address of, call, etc.
all go on the return value.

Functions without @property can remain the way they are now.

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


[Issue 2409] property is not called

2009-08-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2409


Rob Jacques sandf...@jhu.edu changed:

   What|Removed |Added

 CC||sandf...@jhu.edu




--- Comment #1 from Rob Jacques sandf...@jhu.edu  2009-08-04 05:47:08 PDT ---
Another similar use case:

void delegate(int) func();
void main() {
func(1);
}

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