Thread overview | |||||
---|---|---|---|---|---|
|
May 07, 2012 [Issue 8056] New: Properties should behave like variables, e.g. compound assignments | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8056 Summary: Properties should behave like variables, e.g. compound assignments Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: wfunction@hotmail.com --- Comment #0 from wfunction@hotmail.com 2012-05-06 20:19:48 PDT --- This should compile if properties are to be used as variables: @property int foo() { return 1; } @property void foo(int v) { } void main() { foo |= 2; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 07, 2012 [Issue 8056] Properties should behave like variables, e.g. compound assignments | ||||
---|---|---|---|---|
| ||||
Posted in reply to wfunction@hotmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8056 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg@gmx.com --- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2012-05-06 20:32:51 PDT --- A related issue would be incrementing and decrementing properties. e.g. ++foo; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 07, 2012 [Issue 8056] Properties should behave like variables, e.g. compound assignments | ||||
---|---|---|---|---|
| ||||
Posted in reply to wfunction@hotmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=8056 Stewart Gordon <smjg@iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |smjg@iname.com Resolution| |DUPLICATE --- Comment #2 from Stewart Gordon <smjg@iname.com> 2012-05-07 04:06:20 PDT --- *** This issue has been marked as a duplicate of issue 8006 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation