[Issue 6719] "Error: out of memory" in parsing
http://d.puremagic.com/issues/show_bug.cgi?id=6719 Kenji Hara changed: What|Removed |Added Priority|P2 |P1 Severity|normal |major --- Comment #2 from Kenji Hara 2011-09-24 04:02:55 PDT --- The probability of hitting this problem is not big, but the impact is serious. This issue constantly breaks my the code that I use. I hope that this bug will be fixed urgently. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5959] Return by reference with nested function should be allowed
http://d.puremagic.com/issues/show_bug.cgi?id=5959 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Kenji Hara 2011-09-24 05:36:01 PDT --- Already fixed, but not marked. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[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: nob...@puremagic.com ReportedBy: kyfo...@gmail.com --- Comment #0 from kyfo...@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: ---
[Issue 6724] New: core.time.dur should use SI symbols for durations, not the ad hoc contractions it uses now
http://d.puremagic.com/issues/show_bug.cgi?id=6724 Summary: core.time.dur should use SI symbols for durations, not the ad hoc contractions it uses now Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: siegelords_ab...@yahoo.com --- Comment #0 from siegelords_ab...@yahoo.com 2011-09-24 14:11:17 PDT --- That is: ms,ns,s,h,d,�s (I'd accept us as an alternative) If not, at the very least use 'secs' and not 'seconds' so it matches the sub-second interval names. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6725] New: core.time.dur should accept floating point
http://d.puremagic.com/issues/show_bug.cgi?id=6725 Summary: core.time.dur should accept floating point Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: siegelords_ab...@yahoo.com --- Comment #0 from siegelords_ab...@yahoo.com 2011-09-24 14:15:18 PDT --- I'd prefer to be able to do this: dur!("secs")(1.0); dur!("secs")(1.5); dur!("secs")(1.5001); instead of having to do this: dur!("secs")(1); dur!("msecs")(1500); dur!("nsecs")(1500100); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6724] core.time.dur should use SI symbols for durations, not the ad hoc contractions it uses now
http://d.puremagic.com/issues/show_bug.cgi?id=6724 Jonathan M Davis changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #1 from Jonathan M Davis 2011-09-24 14:42:11 PDT --- All units seconds and greater are spelled out completely. All sub-second units are abbreviated. That's by design. We _could_ make it so that there are multiple names for each unit type, but then that gets messy - both in terms of code and in terms of people having to decipher template constraints. It's just cleaner to accept one specific string for each unit type. So, I think that having multiple is ultimately a bad idea. Changing the unit strings would break code for little gain IMHO. And going for names as short as you suggest is error-prone. It's already bad enough that msecs, usecs, and hnsecs are as similar as they are. The functions that the unit strings are used with are exactly the kind of functions where it's often easy to not notice a bug when the units are slightly off. So, making them even less distinct would _not_ be a good idea as far as I'm concerned. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6689] Pure std.exception.bailOut()
http://d.puremagic.com/issues/show_bug.cgi?id=6689 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from bearophile_h...@eml.cc 2011-09-24 16:12:40 PDT --- We'll eventually have a pure map/filter in D. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6726] New: DMD crash with index in foreach statement
http://d.puremagic.com/issues/show_bug.cgi?id=6726 Summary: DMD crash with index in foreach statement Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic 2011-09-24 16:46:02 PDT --- Heavily reduced test-case (so the snippet might not make sense), originally from CairoD: struct ItemRange { @property int front() { return 0; } } void main() { ItemRange range; foreach (index, element; range) { } } --- dmd.exe - Application Error --- The instruction at "0x0045b065" referenced memory at "0x0010". The memory could not be "read". Click on OK to terminate the program Click on CANCEL to debug the program --- OK Cancel --- Using DMD 2.055 on XP32. Removing index from foreach prevents the crash: foreach (element; range) { } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5364] optimizer kills high dword of -1
http://d.puremagic.com/issues/show_bug.cgi?id=5364 Ellery Newcomer changed: What|Removed |Added Platform|Other |x86 --- Comment #5 from Ellery Newcomer 2011-09-24 16:52:49 PDT --- FWIW, just tested dmd 2.055 against this issue - 32 bit version has it, 64 bit version doesn't. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6723] foreach (i, e; range) {} crash
http://d.puremagic.com/issues/show_bug.cgi?id=6723 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic 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: ---
[Issue 6726] DMD crash with index in foreach statement
http://d.puremagic.com/issues/show_bug.cgi?id=6726 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Andrej Mitrovic 2011-09-24 16:55:14 PDT --- *** This issue has been marked as a duplicate of issue 6723 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6723] foreach (i, e; range) {} crash
http://d.puremagic.com/issues/show_bug.cgi?id=6723 --- Comment #2 from Andrej Mitrovic 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: ---
[Issue 5887] with statement doesn't work with subtyping
http://d.puremagic.com/issues/show_bug.cgi?id=5887 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Andrej Mitrovic 2011-09-24 16:58:16 PDT --- *** This issue has been marked as a duplicate of issue 6711 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6711] "with" doesn't work with "alias this"
http://d.puremagic.com/issues/show_bug.cgi?id=6711 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #1 from Andrej Mitrovic 2011-09-24 16:58:16 PDT --- *** Issue 5887 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: ---
[Issue 6711] "with" doesn't work with "alias this"
http://d.puremagic.com/issues/show_bug.cgi?id=6711 --- Comment #2 from Andrej Mitrovic 2011-09-24 16:58:50 PDT --- (In reply to comment #1) > *** Issue 5887 has been marked as a duplicate of this issue. *** Marked older as dup since you have a simpler test-case. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6723] foreach (i, e; range) {} crash
http://d.puremagic.com/issues/show_bug.cgi?id=6723 --- Comment #3 from Kenji Hara 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: ---
[Issue 4046] [CTFE] std.intrinsic
http://d.puremagic.com/issues/show_bug.cgi?id=4046 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Comment #3 from bearophile_h...@eml.cc 2011-09-24 18:29:33 PDT --- (In reply to comment #1) > I think they should be completely removed. There's a case for the intrinsics > mentioned in bug 5703, but I think this should be a WONTFIX. To support them > would just encourage slow, non-portable code. OK, then I close this But I suggest you to open an "enhancement" request that asks to deprecate the useless/bad intrinsics :-) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6719] "Error: out of memory" in parsing
http://d.puremagic.com/issues/show_bug.cgi?id=6719 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #3 from Walter Bright 2011-09-24 18:55:57 PDT --- https://github.com/D-Programming-Language/dmd/commit/8e42f064a3f9aba19fb437dc836b2b9507a49b52 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6360] @property is doubled in di files when used with auto
http://d.puremagic.com/issues/show_bug.cgi?id=6360 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #2 from Walter Bright 2011-09-24 21:02:36 PDT --- https://github.com/D-Programming-Language/dmd/commit/15f54382fb89671c1c640d8b7c11da3b3b923aa1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6596] Error message with not extern(C) function
http://d.puremagic.com/issues/show_bug.cgi?id=6596 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #3 from Walter Bright 2011-09-24 21:03:16 PDT --- https://github.com/D-Programming-Language/dmd/commit/15f54382fb89671c1c640d8b7c11da3b3b923aa1 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5696] Templates typetuple iteration
http://d.puremagic.com/issues/show_bug.cgi?id=5696 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #2 from Walter Bright 2011-09-24 23:23:48 PDT --- https://github.com/D-Programming-Language/dmd/commit/fb3e7b117ea6b13ec45bcc80801ab6fed2fbdd4c https://github.com/D-Programming-Language/dmd/commit/ca4cb397a585dbcf03730cc909d7e57cae6e7bc2 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6727] New: [CTFE] ICE(interpret.c): assignment from string literal.dup.ptr
http://d.puremagic.com/issues/show_bug.cgi?id=6727 Summary: [CTFE] ICE(interpret.c): assignment from string literal.dup.ptr Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don 2011-09-24 23:27:49 PDT --- Related to bug 6721. char * blah(char *z) { return z;} static assert( { auto q = blah("a".dup.ptr); return true; }()); --- test.d(343): Error: CTFE internal error: illegal pointer value "a"[0u..1u] Assertion failure: 'isStackValueValid(newval)' on line 5571 in file 'interpret.c ' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---