Thread overview | |||||
---|---|---|---|---|---|
|
March 04, 2012 [Issue 7639] New: Undefined enum AA key crashes compiler | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7639 Summary: Undefined enum AA key crashes compiler Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: andrej.mitrovich@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-03-03 18:00:30 PST --- // enum str = ""; // comment out to avoid crash void main() { enum foo = [ str : "functions", ]; } When 'auto' is used it doesn't crash the compiler but gives a nice error message: Error: undefined identifier str -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 31, 2012 [Issue 7639] Undefined enum AA key crashes compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=7639 --- Comment #1 from github-bugzilla@puremagic.com 2012-03-30 19:53:33 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/651c27363d05e6038792e0aa717682929385d007 Merge pull request #852 from donc/segfault7639 Fix issue 7639 Undefined enum AA key crashes compiler -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 31, 2012 [Issue 7639] Undefined enum AA key crashes compiler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrej Mitrovic | http://d.puremagic.com/issues/show_bug.cgi?id=7639 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