April 28, 2012 [Issue 8000] New: [UFCS] property in WithStatement | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8000 Summary: [UFCS] property in WithStatement Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: zan77137@nifty.com --- Comment #0 from SHOO <zan77137@nifty.com> 2012-04-28 11:18:13 PDT --- This code doesn't work! ---------- main.d ----------- struct A { } @property void foo(ref A a, int b) { } void main() { A a; a.foo = 1; // OK with (a) { foo = 2; // main.d(15): Error: not a property foo } } ---------------------------- $ dmd -run main main.d(15): Error: not a property foo See_Also: http://d.puremagic.com/issues/show_bug.cgi?id=6400 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 13, 2013 [Issue 8000] [UFCS] property in WithStatement | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=8000 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alanb@ucora.com --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-06-13 02:23:52 PDT --- *** Issue 10349 has been marked as a duplicate of this issue. *** -- 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