Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 13, 2012 [Issue 9013] New: Compiler crash with foreach on wrongly defined interval | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9013 Summary: Compiler crash with foreach on wrongly defined interval Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2012-11-12 18:23:22 PST --- void main() { foreach (i; 0 .. missing) int[] foo = cast(int[])[i]; } DMD 2.061alpha prints this and then crashes: test.d(2): Error: undefined identifier missing -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 13, 2012 [Issue 9013] Compiler crash with foreach on wrongly defined interval | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9013 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice, pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-11-13 04:19:45 PST --- https://github.com/D-Programming-Language/dmd/pull/1281 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 13, 2012 [Issue 9013] Compiler crash with foreach on wrongly defined interval | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9013 --- Comment #2 from github-bugzilla@puremagic.com 2012-11-13 14:40:57 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2dad60f45661fdaa0a8c226019bc6bfb2167b6d9 fix Issue 9013 - Compiler crash with foreach on wrongly defined interval https://github.com/D-Programming-Language/dmd/commit/bd247478dfa1b5a8b94a5a88701fea891fd32fbb Merge pull request #1281 from 9rnsr/fix9013 Issue 9013 - Compiler crash with foreach on wrongly defined interval -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 13, 2012 [Issue 9013] Compiler crash with foreach on wrongly defined interval | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9013 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