Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
September 24, 2011 [Issue 6723] New: foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6723 Summary: foreach (i, e; range) {} crash Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: kyfolee@gmail.com --- Comment #0 from kyfolee@gmail.com 2011-09-24 13:16:37 PDT --- The following crashes the compiler: void main() { import std.range; foreach (i, e; iota(1,2)) {} } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 24, 2011 [Issue 6723] foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to kyfolee@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6723 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-09-24 16:54:55 PDT --- It looks like I've ran into the same issue in bug 6726. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 24, 2011 [Issue 6723] foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to kyfolee@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6723 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2011-09-24 16:55:14 PDT --- *** Issue 6726 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: ------- |
September 25, 2011 [Issue 6723] foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to kyfolee@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6723 --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2011-09-24 17:12:56 PDT --- This code works with git master. Maybe this issue was already fixed by following commit: https://github.com/D-Programming-Language/dmd/commit/569077b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 20, 2012 [Issue 6723] foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to kyfolee@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6723 SomeDude <lovelydear@mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear@mailmetrash.com --- Comment #4 from SomeDude <lovelydear@mailmetrash.com> 2012-04-20 16:23:59 PDT --- On 2.059 Win32: PS E:\DigitalMars\dmd2\samples> rdmd bug.d bug.d(4): Error: cannot infer argument types -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 20, 2012 [Issue 6723] foreach (i, e; range) {} crash | ||||
---|---|---|---|---|
| ||||
Posted in reply to kyfolee@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=6723 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-04-20 16:40:26 PDT --- Fixed. This used to crash but it doesn't anymore, now it's a compiler error (as it should be, there is no 'index' in input ranges). -- 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