Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
May 23, 2013 [Issue 10144] New: Using enum inside final class occurs weird errors | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10144 Summary: Using enum inside final class occurs weird errors Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-23 03:00:38 PDT --- Test casse: final class TNFA(char_t) { enum Act { don } // line 15 const Act[] action_lookup1 = [ Act.don, ]; } alias X = TNFA!char; // lien 18 output: test.d(15): Error: variable test.TNFA!(char).TNFA.don final cannot be applied to variable, perhaps you meant const? test.d(18): Error: template instance test.TNFA!(char) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2013 [Issue 10144] Using enum inside final class occurs weird errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10144 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-23 21:04:27 PDT --- https://github.com/D-Programming-Language/dmd/pull/2070 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2013 [Issue 10144] Using enum inside final class occurs weird errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10144 --- Comment #2 from github-bugzilla@puremagic.com 2013-05-24 01:45:51 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4460aee4175a73fc8260a57427cc0c83d3989d55 fix Issue 10144 - Using enum inside final class occurs weird errors An enum and static variable declaration should not be affected by `synchronized`, `override`, `abstract`, and `final` attributes. https://github.com/D-Programming-Language/dmd/commit/40235541e742e245b50b7fc8f1a3e8ce5094d398 Merge pull request #2070 from 9rnsr/fix10144 [REG2.063a] Issue 10144 - Using enum inside final class occurs weird errors -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2013 [Issue 10144] Using enum inside final class occurs weird errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10144 --- Comment #3 from github-bugzilla@puremagic.com 2013-05-24 01:46:41 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/755ecc5c6237860a44c4fa4eac40c8adf1d9e884 Merge pull request #2070 from 9rnsr/fix10144 [REG2.063a] Issue 10144 - Using enum inside final class occurs weird errors -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 24, 2013 [Issue 10144] Using enum inside final class occurs weird errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10144 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- 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