Thread overview | |||||
---|---|---|---|---|---|
|
December 06, 2011 [Issue 7071] New: "final:" shouldn't affect variables | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7071 Summary: "final:" shouldn't affect variables Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: minor Priority: P3 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: thecybershadow@gmail.com --- Comment #0 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-12-06 05:22:08 PST --- This code works in D1: class C { final: string s; } In D2 it results in: Error: variable test_final.C.s final cannot be applied to variable Since it works in D1, I assume it's an unintentional regression? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 06, 2011 [Issue 7071] "final:" shouldn't affect variables | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | http://d.puremagic.com/issues/show_bug.cgi?id=7071 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid | Severity|minor |enhancement --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2011-12-06 05:30:56 PST --- I was told that "final" has meaning for variables in D1, so I'm changing this to an enhancement request. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 04, 2013 [Issue 7071] "final:" shouldn't affect variables | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | http://d.puremagic.com/issues/show_bug.cgi?id=7071 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |turkeyman@gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-04 14:06:55 PST --- *** Issue 7724 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