[Issue 6024] Windows 2000 SP4 is not supported any more? And what is still supported?
http://d.puremagic.com/issues/show_bug.cgi?id=6024 --- Comment #16 from Denis Shelomovskij verylonglogin@gmail.com 2012-05-12 10:01:09 MSD --- A pull for Windows 2000 support: https://github.com/D-Programming-Language/druntime/pull/212 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8089] New: Importing package as module causes segfault
http://d.puremagic.com/issues/show_bug.cgi?id=8089 Summary: Importing package as module causes segfault Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis jmdavisp...@gmx.com 2012-05-11 23:48:23 PDT --- I decide that I'd look at the possibility of implementing something along the lines of DIP 15 or 16 and ran into this little bit of fun. If you have the modules prog.d -- import wasmodule; void main() {} -- and wasmodule/module1.d --- module wasmodule.module1; --- you get a segfault. If you change the first import to import wasmodule.module1; it's fine. Apparently the compiler can't handle trying to import a package as if it were module (obviously, it should error out in that case, but segfaulting is clearly not acceptable). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 387] When EOF of din is reached, a line of output is lost
http://d.puremagic.com/issues/show_bug.cgi?id=387 Oleg Kuporosov oleg.kuporo...@gmail.com changed: What|Removed |Added CC||oleg.kuporo...@gmail.com --- Comment #11 from Oleg Kuporosov oleg.kuporo...@gmail.com 2012-05-12 00:05:02 PDT --- (In reply to comment #10) As dlang-Win9x support will be stopped soon, close it? Validated on Windows 7 x86_64 - works fine. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8089] Importing package as module causes segfault
http://d.puremagic.com/issues/show_bug.cgi?id=8089 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Keywords||pull --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2012-05-12 01:30:48 PDT --- https://github.com/D-Programming-Language/dmd/pull/942 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6597] to!SomeString should use std.format.formatValue
http://d.puremagic.com/issues/show_bug.cgi?id=6597 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-05-12 06:52:35 PDT --- I have posted a pull request to fix this issue: https://github.com/D-Programming-Language/phobos/pull/236 And it was merged in dmd 2.057. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2 from timon.g...@gmx.ch 2012-05-12 07:11:54 PDT --- This is true, but byLine is not a true InputRange, therefore it is questionable whether or not it should expose an InputRange interface. int opApply(scope int delegate(scope string ln)) would be more descriptive. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4288] Error on passing delegate to C linkage function.
http://d.puremagic.com/issues/show_bug.cgi?id=4288 klickverbot c...@klickverbot.at changed: What|Removed |Added CC||c...@klickverbot.at --- Comment #3 from klickverbot c...@klickverbot.at 2012-05-12 07:40:25 PDT --- Error message fix: https://github.com/D-Programming-Language/dmd/pull/943 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8090] New: ICE: Assertion failure: 'typen-deco' on line 1703 in file 'cast.c'
http://d.puremagic.com/issues/show_bug.cgi?id=8090 Summary: ICE: Assertion failure: 'typen-deco' on line 1703 in file 'cast.c' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-05-12 07:58:21 PDT --- struct Foo { } alias bool delegate(Foo w) DG; DG test; void main() { // bool[Foo] a; test = (Foo w) { return w in a; }; } ice.d(11): Error: undefined identifier a, did you mean variable w? Assertion failure: 'typen-deco' on line 1703 in file 'cast.c' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4744] std.conv: string-enum doesn't look for longer match
http://d.puremagic.com/issues/show_bug.cgi?id=4744 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull Status|ASSIGNED|RESOLVED Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8015] std.typecons.Tuple does not support struct with alias method this
http://d.puremagic.com/issues/show_bug.cgi?id=8015 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-05-12 09:19:00 PDT --- https://github.com/D-Programming-Language/phobos/pull/576 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6175] String corruption when passing static char arrays to std.conv
http://d.puremagic.com/issues/show_bug.cgi?id=6175 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-05-12 09:20:56 PDT --- https://github.com/D-Programming-Language/phobos/pull/575 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7348] to!string(null) matches more than one template declaration
http://d.puremagic.com/issues/show_bug.cgi?id=7348 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #8 from Kenji Hara k.hara...@gmail.com 2012-05-12 09:22:49 PDT --- Now to!string(null) returns cast(string)null. Because null is implicitly convertible to string. Unit-test only: https://github.com/D-Programming-Language/phobos/pull/575 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8080] 'alias this' causes toString to be shadowed by aliased object
http://d.puremagic.com/issues/show_bug.cgi?id=8080 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-05-12 09:23:07 PDT --- https://github.com/D-Programming-Language/phobos/pull/575 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 Brad Roberts bra...@puremagic.com changed: What|Removed |Added CC||bra...@puremagic.com --- Comment #3 from Brad Roberts bra...@puremagic.com 2012-05-12 09:49:25 PDT --- What part of the definition of an InputRange does it violate? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2012-05-12 09:55:49 PDT --- (In reply to comment #1) In order for byLine to be efficient, it must reuse the buffer it's reading. In order for the above code to be equivlent, it must dup every line, which is hugely inefficient if you aren't going to use them beyond the scope of the foreach statement. OK. ByLine.front returns the slice of internal line buffer, so it specifies 'temporary' data. We should get dup in each iteration. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4953] Regression(2.031): templates don't do implicit conversion properly
http://d.puremagic.com/issues/show_bug.cgi?id=4953 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Keywords|pull| CC||bra...@puremagic.com --- Comment #13 from Brad Roberts bra...@puremagic.com 2012-05-12 10:08:27 PDT --- Looking at this history of this bug and the pulls in github, it looks like there isn't a valid pull request that fixes this bug right now. Removing the keyword. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4953] Regression(2.031): templates don't do implicit conversion properly
http://d.puremagic.com/issues/show_bug.cgi?id=4953 --- Comment #14 from Kenji Hara k.hara...@gmail.com 2012-05-12 10:19:09 PDT --- (In reply to comment #13) Looking at this history of this bug and the pulls in github, it looks like there isn't a valid pull request that fixes this bug right now. Removing the keyword. My dmd/pull/45 fixes both bug 5896 and this. I think the two bugs need the changes of each other. Please keep 'pull' keyword. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4953] Regression(2.031): templates don't do implicit conversion properly
http://d.puremagic.com/issues/show_bug.cgi?id=4953 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Keywords||pull --- Comment #15 from Brad Roberts bra...@puremagic.com 2012-05-12 10:29:31 PDT --- I'll add it back, but it looked like Walter was rejecting the pull request. It is still open, so might as well leave them linked. Walter, would you put regression pull requests such as this one near the top of your todo list? Either reject with reasons or pull. Limbo sucks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7919] Sample code works on GDC but fails with DMD
http://d.puremagic.com/issues/show_bug.cgi?id=7919 --- Comment #5 from github-bugzi...@puremagic.com 2012-05-12 10:34:14 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e3cfaeb005e42d5397f548a9cd6beb28264c85e9 fix Issue 7919 - Sample code works on GDC but fails with DMD https://github.com/D-Programming-Language/phobos/commit/a47332ca0df2cd4ea714e7ab31e5376fd72adb93 Merge pull request #540 from 9rnsr/fix7919 Issue 7919 - Sample code works on GDC but fails with DMD -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7919] Sample code works on GDC but fails with DMD
http://d.puremagic.com/issues/show_bug.cgi?id=7919 Brad Roberts bra...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bra...@puremagic.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5896] const overload matching is succumb to template parameter one
http://d.puremagic.com/issues/show_bug.cgi?id=5896 --- Comment #6 from github-bugzi...@puremagic.com 2012-05-12 11:35:38 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/60d7fadd7100c52746a29fade983c5644a4c8cfb fix Issue 5896 - const overload matching is succumb to template parameter one Treat matching levels separately based on initial template arguments and inferred from function arguments. https://github.com/D-Programming-Language/dmd/commit/f21d0cc53e2af192c8441ee8de786981d3bbca57 Merge pull request #45 from 9rnsr/fix5896 Issue 5896 - const overload matching is succumb to template parameter one -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4953] Regression(2.031): templates don't do implicit conversion properly
http://d.puremagic.com/issues/show_bug.cgi?id=4953 --- Comment #16 from github-bugzi...@puremagic.com 2012-05-12 11:35:46 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/91093c7bb19b2f43dffa868c5f8125e1bd347412 fix Issue 4953 - Regression(2.031): templates don't do implicit conversion properly -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #5 from Jonathan M Davis jmdavisp...@gmx.com 2012-05-12 11:38:24 PDT --- OK. ByLine.front returns the slice of internal line buffer, so it specifies 'temporary' data. So? It's returning a reference type, so it could change on you. It _is_ potentially problematic in some cases, but I don't see how that makes it so that it isn't an input range We should get dup in each iteration. It's specifically _avoiding_ that for efficiency purposes. Now, maybe having ByLine's front return the same array with changes values rather than a new array makes it so that it doesn't work with a lot of range-based functions, effectively making it useless as a range, even if it _does_ follow the API. If that's the case, maybe we should make it use opApply for the loop case (having it use the current non-duping behavior) and have front do a dup (and if front as pure, that result could even be implicitly converted to an immutable result, avoiding having to dup it twice to get an immutable copy). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4953] Regression(2.031): templates don't do implicit conversion properly
http://d.puremagic.com/issues/show_bug.cgi?id=4953 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8091] New: Optimizer generates wrong code when reducing comparisons.
http://d.puremagic.com/issues/show_bug.cgi?id=8091 Summary: Optimizer generates wrong code when reducing comparisons. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hanaz...@gmail.com --- Comment #0 from Kasumi Hanazuki k.hanaz...@gmail.com 2012-05-12 13:24:17 PDT --- DMD optimizer generates a wrong code for the program below. The second assertion unexpectedly fails if you specify -O flag to DMD, while it passes as expected without optimization. $ dmd -m32 -run test.d # fine $ dmd -m32 -O -run test.d # AssertError@test(8): Assertion failure Tested against DMDv2.060 (git HEAD) on 32-bit Linux. Found by hos_lyric https://twitter.com/#!/hos_lyric_/status/201270597265793024. int solve(int n) { int a = (n % 3 == 0) ? 1 : (n % 3 == 1) ? 1 : 0; return (a != 0) ? a : 0; } void main() { assert(solve(0) == 1); assert(solve(1) == 1); // line 8, fails with -O assert(solve(2) == 0); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7530] Postblit not called structs returned from an array index expr.
http://d.puremagic.com/issues/show_bug.cgi?id=7530 --- Comment #5 from github-bugzi...@puremagic.com 2012-05-12 15:07:20 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e72fa541029d2c09daa992e78f2adf33d1bd8045 fix Issue 7530 - Postblit not called structs returned from an array index expr. https://github.com/D-Programming-Language/dmd/commit/481f5585639de6dbf94e6b80510f767dc5e81b64 Merge pull request #939 from 9rnsr/fix_postblit Issue 7506 7530 more postblit fixes -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7506] Postblit does not called properly with inlining
http://d.puremagic.com/issues/show_bug.cgi?id=7506 --- Comment #3 from github-bugzi...@puremagic.com 2012-05-12 15:07:25 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/af733d53761e8c9e3d53fff3275e0451eb23b20d fix Issue 7506 - Postblit does not called properly with inlining https://github.com/D-Programming-Language/dmd/commit/481f5585639de6dbf94e6b80510f767dc5e81b64 Merge pull request #939 from 9rnsr/fix_postblit Issue 7506 7530 more postblit fixes -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7530] Postblit not called structs returned from an array index expr.
http://d.puremagic.com/issues/show_bug.cgi?id=7530 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7506] Postblit does not called properly with inlining
http://d.puremagic.com/issues/show_bug.cgi?id=7506 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 --- Comment #6 from Steven Schveighoffer schvei...@yahoo.com 2012-05-12 19:38:27 PDT --- ByLine is a true input range, it has empty, popFront and front. If it was not a true input range, foreach would not work on it. I also think isInputRange would pass. The major issue I see with ByLine is that its default type of front is char[]. It really should be const(char)[]. And in fact, I don't think char[] should be possible. Perhaps, this bug can be redone to address that. (In reply to comment #4) OK. ByLine.front returns the slice of internal line buffer, so it specifies 'temporary' data. We should get dup in each iteration. If you mean ByLine should dup for each iteration, that is extremely wasteful. What if you only need the data during the loop and not afterward? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8084] std.stdio.ByLine is not true input range
http://d.puremagic.com/issues/show_bug.cgi?id=8084 --- Comment #7 from Kenji Hara k.hara...@gmail.com 2012-05-12 19:50:30 PDT --- (In reply to comment #5) (In reply to comment #6) (In reply to comment #4) OK. ByLine.front returns the slice of internal line buffer, so it specifies 'temporary' data. We should get dup in each iteration. I mean we should dup the front of ByLine in *user code* if it is used after whole iteration, not ByLine should return dup-ed front. And I can agree that ByLine is *true* input range because it has empty, front, and popFront. Therefore, the summary was wrong. Now I think it is correct that this issue was marked as 'resolved wontfix'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---