[Issue 11566] ICE with invalid array op
https://d.puremagic.com/issues/show_bug.cgi?id=11566 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 19:15:52 EST --- https://github.com/D-Programming-Language/dmd/pull/2842 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11567] New: DParserCOMServer.exe is always running with VS
https://d.puremagic.com/issues/show_bug.cgi?id=11567 Summary: DParserCOMServer.exe is always running with VS Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: VisualD AssignedTo: nob...@puremagic.com ReportedBy: michal.min...@gmail.com --- Comment #0 from Michal Minich michal.min...@gmail.com 2013-11-21 00:21:31 PST --- The process is running whenever VS is running, even when no D project is opened (or was). It is not possible to kill it. I'm putting it on minor severity as it is mostly formal issue as the process doesn't eats cpu, and only 2mb of ram. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11567] DParserCOMServer.exe is always running with VS
https://d.puremagic.com/issues/show_bug.cgi?id=11567 rswhi...@googlemail.com changed: What|Removed |Added CC||rswhi...@googlemail.com --- Comment #1 from rswhi...@googlemail.com 2013-11-21 00:36:15 PST --- http://forum.dlang.org/thread/bug-1156...@https.d.puremagic.com%2Fissues%2F -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10710] shared phobos library doesn't work on all linux distributions
https://d.puremagic.com/issues/show_bug.cgi?id=10710 --- Comment #46 from Jordi Sayol g.sa...@yahoo.es 2013-11-21 02:05:12 PST --- (In reply to comment #24) (In reply to comment #23) How? Removing std.net.curl is not an option. why not? Not in the near term. I don't know what the general sentiment about this is, but anyways we couldn't remove a module without deprecation. While the pull request is accepted or not, I think it would be important to determine the sentiment of the people about maintaining curl on phobos, and take a decision based on this result. How can we know that sentiment? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8581] Internal error: backend/cod1.c 1677 on structs with bitfields (when compile with release or optimize parameter)
https://d.puremagic.com/issues/show_bug.cgi?id=8581 Daniel Kozak kozz...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Daniel Kozak kozz...@gmail.com 2013-11-21 02:57:12 PST --- No problem anymore, wrong code with bad assumption. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10476] Allow array operations with implicit casts
https://d.puremagic.com/issues/show_bug.cgi?id=10476 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Severity|normal |enhancement -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11555] std.algorithm.reverse should return the just-reversed range
https://d.puremagic.com/issues/show_bug.cgi?id=11555 --- Comment #3 from bearophile_h...@eml.cc 2013-11-21 03:19:53 PST --- (In reply to comment #2) I like the reverse vs. reversed idea from Python. Leave reverse as-is and provide reversed that only returns a new result (no side effects on backing sequence). That way I won't have to do .dup in my example. Win-win. I prefer reverse() to just return the range despite its uncleanness, or reverse().release to return it. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10632] [ICE](glue.c line 1227) With inlining and tuples
https://d.puremagic.com/issues/show_bug.cgi?id=10632 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from bearophile_h...@eml.cc 2013-11-21 03:14:21 PST --- Closed. Do you want to add testcases to dmd for similar code that used to not work? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10606] DMD Exit code 139
https://d.puremagic.com/issues/show_bug.cgi?id=10606 --- Comment #2 from Daniel Kozak kozz...@gmail.com 2013-11-21 02:45:29 PST --- (In reply to comment #1) Now gives testx.d(13): Error: no property 'g' for type 'testx.B' testx.d(6): Error: template instance testx.A!(B) error instantiating This is better than exit code 139. But is this desired behaviour? When I rewrite: immutable b = immutable C!(T)(u); to: immutable b = immutable C!(A!T)(u); It works as I expected, but why I can not just write T instead of A!T? Maybe some circular reference? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10632] [ICE](glue.c line 1227) With inlining and tuples
https://d.puremagic.com/issues/show_bug.cgi?id=10632 --- Comment #3 from yebblies yebbl...@gmail.com 2013-11-21 22:20:25 EST --- (In reply to comment #2) Closed. Do you want to add testcases to dmd for similar code that used to not work? Not really, no. I will be happy to merge pull requests if somebody else takes the time to do it. (hint) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10470] Linkage (extern) ignored in alias declaration
https://d.puremagic.com/issues/show_bug.cgi?id=10470 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-21 22:33:17 EST --- *** Issue 11379 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10629] [ICE](dt.c 106) with void array
https://d.puremagic.com/issues/show_bug.cgi?id=10629 --- Comment #3 from bearophile_h...@eml.cc 2013-11-21 03:14:51 PST --- Closed. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11379] Cannot combine calling convention with an existing alias
https://d.puremagic.com/issues/show_bug.cgi?id=11379 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-21 22:33:17 EST --- *** This issue has been marked as a duplicate of issue 10470 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10439] Deprecate float.min, double.min, real.min, and later remove them
https://d.puremagic.com/issues/show_bug.cgi?id=10439 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 22:42:13 EST --- https://github.com/D-Programming-Language/dmd/pull/2843 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10477] Allow bit shift in array operation
https://d.puremagic.com/issues/show_bug.cgi?id=10477 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Severity|normal |enhancement --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 22:26:39 EST --- It's not listed in the spec, seems like a valid enhancement. http://dlang.org/arrays.html -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10369] Deprecate unordered floating point comparisons (!=, etc)
https://d.puremagic.com/issues/show_bug.cgi?id=10369 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 22:49:30 EST --- Turn it into a warning: https://github.com/D-Programming-Language/dmd/pull/2844 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10369] Deprecate unordered floating point comparisons (!=, etc)
https://d.puremagic.com/issues/show_bug.cgi?id=10369 --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-21 23:04:54 EST --- https://github.com/D-Programming-Language/druntime/pull/666 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10350] Valid code cannot be compiled with -inline
https://d.puremagic.com/issues/show_bug.cgi?id=10350 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-21 23:08:55 EST --- Works fine, both of them. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10361] Cross-module overloading conflict between unordered functions
https://d.puremagic.com/issues/show_bug.cgi?id=10361 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 23:07:37 EST --- MyEnum.init _is_ convertible to char, because it is known at compile time, and range propagation allow the conversion. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10635] Error: cannot use array to initialize S
https://d.puremagic.com/issues/show_bug.cgi?id=10635 --- Comment #2 from Daniel Kozak kozz...@gmail.com 2013-11-21 04:07:28 PST --- (In reply to comment #1) Now neither work. No it is same as before, but my example was bad. I mean this: struct S { string str; static S opCall(string[] v) { S s; s.str = v[0]; return s; } static S opCall(string[string] v) { S s; s.str = v.keys[0]; return s; } } void main(string[] args) { S s1 = [getnonce]; // this works S s = [getnonce : str]; // this doesnt work } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10635] Error: cannot use array to initialize S
https://d.puremagic.com/issues/show_bug.cgi?id=10635 --- Comment #3 from Daniel Kozak kozz...@gmail.com 2013-11-21 04:12:29 PST --- (In reply to comment #2) (In reply to comment #1) Now neither work. No it is same as before, but my example was bad. I mean this: struct S { string str; static S opCall(string[] v) { S s; s.str = v[0]; return s; } static S opCall(string[string] v) { S s; s.str = v.keys[0]; return s; } } void main(string[] args) { S s1 = [getnonce]; // this works S s = [getnonce : str]; // this doesnt work } void main(string[] args) { S s1 = S([getnonce]); // this works S s2 = [getnonce]; // this works S s3 = S([getnonce : str]); // this works S s4 = [getnonce : str]; // this doesnt work but shoud be same as s3 } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10281] pure methods can use shared fields
https://d.puremagic.com/issues/show_bug.cgi?id=10281 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-21 23:30:14 EST --- And global variable can be read inside pure functions if they are accessible through a parameter. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11554] `is(T == enum); ` produces an error if T is an enum defined with no members
https://d.puremagic.com/issues/show_bug.cgi?id=11554 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11554] `is(T == enum); ` produces an error if T is an enum defined with no members
https://d.puremagic.com/issues/show_bug.cgi?id=11554 --- Comment #2 from github-bugzi...@puremagic.com 2013-11-21 14:06:49 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/54fdacb5b59d98024d84f03a02924ee09ba6161a fix Issue 11554 - `is(T == enum);` produces an error if T is an enum defined with no members https://github.com/D-Programming-Language/dmd/commit/40c8ba9a78a53f500b98ccb435abe6ef9215ffd0 Merge pull request #2829 from 9rnsr/fix11554 [REG2.065a] Issue 11554 - `is(T == enum);` produces an error if T is an enum defined with no members -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11546] string import dependency failure
https://d.puremagic.com/issues/show_bug.cgi?id=11546 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com Component|VisualD |DMD OS/Version|Windows |All Severity|major |enhancement -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10145] real datatype on x64 doesn't accurately represent a floating point number
https://d.puremagic.com/issues/show_bug.cgi?id=10145 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||INVALID --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-22 02:37:26 EST --- Can't fix without a test case. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11572] New: eager apply for ranges
https://d.puremagic.com/issues/show_bug.cgi?id=11572 Summary: eager apply for ranges Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak c...@dawg.eu 2013-11-21 12:43:30 PST --- The use-case foreach (c; foobar.retro()) writeln(c); foobar.retro.apply!writeln(); This is not a functional component because it's mostly useful for void functions with side effect. Currently one needs to mix foreach and UFCS. Not sure about the name, maybe sink or apply. Or we could modify std.algorithm.reduce to allow void functions. NB: The function is not supposed to produce a result (we have http://dlang.org/phobos/std_array.html#.array for that). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11497] lambda in static if/assert prevent inlining of function
https://d.puremagic.com/issues/show_bug.cgi?id=11497 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #8 from Kenji Hara k.hara...@gmail.com 2013-11-21 06:38:00 PST --- https://github.com/D-Programming-Language/dmd/pull/2845 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10108] Thread local slice to array literal references the same data
https://d.puremagic.com/issues/show_bug.cgi?id=10108 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #16 from yebblies yebbl...@gmail.com 2013-11-22 02:53:57 EST --- *** This issue has been marked as a duplicate of issue 2947 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10710] shared phobos library doesn't work on all linux distributions
https://d.puremagic.com/issues/show_bug.cgi?id=10710 --- Comment #48 from Jordi Sayol g.sa...@yahoo.es 2013-11-21 08:50:16 PST --- (In reply to comment #47) Several of the main devs (including Walter) have stated that having std.net.curl was a mistake given all of the problems that we've had with it on Windows, and at least some of them have a expressed a desire for it to be removed. We should probably bring it up for discussion in the main newsgroup. I expect that there's a good chance that it can and will be removed from Phobos if brought up for discussion. Certainly, I think that it's clear that we will not add any further external dependencies like curl, because curl has proven to be a big problem. It's very desirable to have bindings and wrappers for C libraries - but putting them in the standard library when it's not guaranteed that the appropriate library is on the system by default has proven to be too problematic, so they should be left to external projects. Totally agree. Can you reissue this post to the main newsgroup in order to open this discussion please? Thank you. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10369] Deprecate unordered floating point comparisons (!=, etc)
https://d.puremagic.com/issues/show_bug.cgi?id=10369 --- Comment #4 from yebblies yebbl...@gmail.com 2013-11-21 23:27:22 EST --- (In reply to comment #3) Something moves :-) Good yebblies. One of the most important warnings/deprecations is in my opinion the Issue 10318 . Is the phobos sort good enough to replace it? IIRC there were some problems... -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9981] Implement lazy ref arguments
https://d.puremagic.com/issues/show_bug.cgi?id=9981 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Severity|normal |enhancement --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 03:27:27 EST --- Since when was this supposed to work? Enhancement. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10305] Make array operations output type the same as the input one for fixed sized arrays
https://d.puremagic.com/issues/show_bug.cgi?id=10305 --- Comment #2 from bearophile_h...@eml.cc 2013-11-21 07:00:07 PST --- (In reply to comment #1) a[] has type double[], s this is already doing what you said. Then this ER asks for something un-standard and special, even if it needs some hack in the compiler: keeping the compile-time knowledge of the array length is very important to optimize well enough vector operations on fixed sized arrays. This is a important enhancement request. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10476] Allow array operations with implicit casts
https://d.puremagic.com/issues/show_bug.cgi?id=10476 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 02:36:32 EST --- *** Issue 10152 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11572] eager apply for ranges
https://d.puremagic.com/issues/show_bug.cgi?id=11572 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #1 from bearophile_h...@eml.cc 2013-11-21 13:30:11 PST --- (In reply to comment #0) The use-case foreach (c; foobar.retro()) writeln(c); foobar.retro.apply!writeln(); This is a common need, perhaps such request is already in Bugzilla. Not sure about the name, maybe sink or apply. sink is probably better left for output ranges, etc. apply function usually has another meaning: http://en.wikipedia.org/wiki/Apply So I suggest names like forEach, that underlines its imperative nature. Or we could modify std.algorithm.reduce to allow void functions. Reduce has a different meaning. Here you are not reducing. Currently one needs to mix foreach and UFCS. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10251] CTFE: Allow returning pointers to global static variables of known value
https://d.puremagic.com/issues/show_bug.cgi?id=10251 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10000] anonymous union returning wrong value when combined with CTFE
https://d.puremagic.com/issues/show_bug.cgi?id=1 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME --- Comment #3 from yebblies yebbl...@gmail.com 2013-11-22 03:20:08 EST --- Test case: import std.stdio; import std.conv; struct Test { union { string _str; long _int; ulong _uint; } this(long val) { this._int = val; } string toString() const { return to!string(_int); } } Test foo() { return Test(3); } void main(string[] argv) { enum x = foo(); // Writes 0 writeln(x); auto y = foo(); // Writes 3 writeln(y); } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10189] demangle doesn't work with __ModuleInfoZ __initZ __arrayZ
https://d.puremagic.com/issues/show_bug.cgi?id=10189 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Component|DMD |druntime --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 02:29:17 EST --- demangle is in druntime -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11546] string import dependency failure
https://d.puremagic.com/issues/show_bug.cgi?id=11546 --- Comment #6 from github-bugzi...@puremagic.com 2013-11-21 13:54:41 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/57f34b2abe1693f446d6856d480515c839476b0f Merge pull request #2835 from rainers/string_import_deps fix Issue 11546 - string import dependency failure -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10038] Poor error for undefined variable in template args using UFCS on UDT
https://d.puremagic.com/issues/show_bug.cgi?id=10038 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10070] Unexpected exception-related program crash
https://d.puremagic.com/issues/show_bug.cgi?id=10070 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 03:05:44 EST --- I can't reproduce this. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2947] Array literal changeable if part of class.
https://d.puremagic.com/issues/show_bug.cgi?id=2947 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||c...@dawg.eu --- Comment #6 from yebblies yebbl...@gmail.com 2013-11-22 02:53:57 EST --- *** Issue 10108 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10221] foreach(char c; 0..256) doesn't work even though the upper bound is 255
https://d.puremagic.com/issues/show_bug.cgi?id=10221 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid CC||yebbl...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-22 02:13:18 EST --- void test10221() { foreach(char c; 0..256) { } } https://github.com/D-Programming-Language/dmd/pull/2847 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11568] New: can't compile std.stdio.rawWrite with -m64 in Windows
https://d.puremagic.com/issues/show_bug.cgi?id=11568 Summary: can't compile std.stdio.rawWrite with -m64 in Windows Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: enjouzensyou.bo...@gmail.com --- Comment #0 from Kazuki Komatsu enjouzensyou.bo...@gmail.com 2013-11-21 07:02:47 PST --- Cannot compile the following code with -m64. - import std.stdio; void main() { auto file = File(foo.txt, w); file.rawWrite([0, 1, 2, 3]); } - - C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(579): Error: undefined identifier '_fileno', did you mean 'function f ileno'? C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(580): Error: undefined identifier '_setmode' C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(580): Error: undefined identifier _O_BINARY C:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(581): Error: undefined identifier '_setmode' stereo_test.d(6): Error: template instance std.stdio.File.rawWrite!int error instantiating - -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10071] 'real' alignment wrong on OS X 32 bit
https://d.puremagic.com/issues/show_bug.cgi?id=10071 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-22 03:04:21 EST --- Is this still broken? From target.c: else if (global.params.isOSX) { realsize = 16; realpad = 6; realalignsize = 16; } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11571] New: introduce originalType in std.conv
https://d.puremagic.com/issues/show_bug.cgi?id=11571 Summary: introduce originalType in std.conv Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: monarchdo...@gmail.com --- Comment #0 from monarchdo...@gmail.com 2013-11-21 11:14:20 PST --- std.traits has Unsigned/Signed to operate on types, and their convenient helpers in std.conv unsigned/signed, to operate on values. EG: uint a; b = a.signed; I'd like to request the function originalType, which would be std.traits' OriginalType, but that operates on values. This would make it an easy and convenient way to strip the enum characteristic information of an enumerate, and simply operate on the value represented by said enum. This would be useful, amongst others, in templates, to a), limit intanciations, and b), to avoid operating on enums, which always tends to throw them off. Also, it could be useful to print string enums, to observe the difference between the enum *name* (printed by default), and the enum *value* (the string carried by said enum). For example: enum LinkageType : string { D = D, /// C = C, /// ditto Windows = Windows, /// ditto Pascal = Pascal, /// ditto Cpp = C++ /// ditto } writeln(LinkageType.Cpp); //prints Cpp writeln(LinkageType.Cpp.originalType); //prints C++ -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10710] shared phobos library doesn't work on all linux distributions
https://d.puremagic.com/issues/show_bug.cgi?id=10710 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added CC||jmdavisp...@gmx.com --- Comment #47 from Jonathan M Davis jmdavisp...@gmx.com 2013-11-21 08:25:31 PST --- While the pull request is accepted or not, I think it would be important to determine the sentiment of the people about maintaining curl on phobos, and take a decision based on this result. How can we know that sentiment? Several of the main devs (including Walter) have stated that having std.net.curl was a mistake given all of the problems that we've had with it on Windows, and at least some of them have a expressed a desire for it to be removed. We should probably bring it up for discussion in the main newsgroup. I expect that there's a good chance that it can and will be removed from Phobos if brought up for discussion. Certainly, I think that it's clear that we will not add any further external dependencies like curl, because curl has proven to be a big problem. It's very desirable to have bindings and wrappers for C libraries - but putting them in the standard library when it's not guaranteed that the appropriate library is on the system by default has proven to be too problematic, so they should be left to external projects. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10225] core.simd wrong codegen for XMM.STOUPS with __simd_sto
https://d.puremagic.com/issues/show_bug.cgi?id=10225 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||SIMD, wrong-code CC||yebbl...@gmail.com Severity|normal |critical --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-22 00:33:18 EST --- I think it's worse than that actually. import core.simd; __gshared float[] value1 = [1.0f, 2.0f, 3.0f, 4.0f]; void func(); void main(string[] args) { float4 result = __simd(XMM.LODUPS, *cast(float4*)value1.ptr); result = __simd(XMM.ADDPS, result, result); __simd_sto(XMM.STOUPS, *cast(float4*)value1.ptr, result); func(); } gives mov rax, qword ptr [_D5testx6value1Af+8H] ; 0008 _ 48: 8B. 05, 0008(rel) movups xmm0, xmmword ptr [rax] ; 000F _ 0F 10. 00 movaps xmmword ptr [rbp-10H], xmm0 ; 0012 _ 0F 29. 45, F0 movdqa xmm1, xmmword ptr [rbp-10H] ; 0016 _ 66: 0F 6F. 4D, F0 addps xmm1, xmmword ptr [rbp-10H] ; 001B _ 0F 58. 4D, F0 movaps xmmword ptr [rbp-10H], xmm1 ; 001F _ 0F 29. 4D, F0 So the value is loaded from value1, then stored into a stack slot, then loaded, added, and stored back into the stack slot. The result is never written back into value1. With -O the whole thing is dropped, despite the call to func() which could easily access value1. Elevating to critical. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11573] New: [ld.gold] debug information doesn't work
https://d.puremagic.com/issues/show_bug.cgi?id=11573 Summary: [ld.gold] debug information doesn't work Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: symdeb Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@dawg.eu --- Comment #0 from Martin Nowak c...@dawg.eu 2013-11-21 12:53:32 PST --- When debugging dmd binaries linked with ld.gold it's not possible to print variables because gdb could not find the frame base for the current function. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9992] Default argument from member variable
https://d.puremagic.com/issues/show_bug.cgi?id=9992 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #2 from bearophile_h...@eml.cc 2013-11-21 08:31:01 PST --- (In reply to comment #1) Default arguments are evaluated at the call site... so I don't think this is necessarily wrong. I think the compiler should give errors for wrong code, even if the function is not yet called. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10069] Assignment to 'this' fails inside struct constructor during CTFE
https://d.puremagic.com/issues/show_bug.cgi?id=10069 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10133] ICE for templated static conditional lambda
https://d.puremagic.com/issues/show_bug.cgi?id=10133 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||ice CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 02:40:49 EST --- Gives: DMD v2.065 DEBUG testx.d(8): Error: template instance func!x does not match template declaratio n func(string s)() if (countUntil!((x) = x == 'x')(s)) import std.algorithm; bool func(string s)() if (countUntil!(x = x == 'x')(s)) { return true; } void main() { func!(ax)(); } gives a new ice: assert glue.c(596) ident != Id::empty -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9992] Default argument from member variable
https://d.puremagic.com/issues/show_bug.cgi?id=9992 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 03:24:51 EST --- Default arguments are evaluated at the call site... so I don't think this is necessarily wrong. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11572] eager apply for ranges
https://d.puremagic.com/issues/show_bug.cgi?id=11572 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added CC||dmitry.o...@gmail.com --- Comment #2 from Dmitry Olshansky dmitry.o...@gmail.com 2013-11-21 13:37:11 PST --- (In reply to comment #1) (In reply to comment #0) The use-case foreach (c; foobar.retro()) writeln(c); foobar.retro.apply!writeln(); This is a common need, perhaps such request is already in Bugzilla. Not sure about the name, maybe sink or apply. sink is probably better left for output ranges, etc. apply function usually has another meaning: http://en.wikipedia.org/wiki/Apply So I suggest names like forEach, that underlines its imperative nature. Simply each is enough and has precedents in other languages like Groovy and Ruby. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11569] New: Incorrect handling of recursive mixin
https://d.puremagic.com/issues/show_bug.cgi?id=11569 Summary: Incorrect handling of recursive mixin Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: john.loughran.col...@gmail.com --- Comment #0 from John Colvin john.loughran.col...@gmail.com 2013-11-21 15:06:21 GMT --- This just compiles forever, eating up memory at warp speed: mixin template S(string s) { struct A { mixin(s); template Q(string s) { mixin S!s _A; alias Q = _S.A; } alias B = Q!enum a = 1;; } } mixin S!enum a = 0;; -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11557] Can't compare `const`/`immutable` classes
https://d.puremagic.com/issues/show_bug.cgi?id=11557 --- Comment #4 from Kenji Hara k.hara...@gmail.com 2013-11-21 07:30:09 PST --- (In reply to comment #3) (In reply to comment #2) Why this issue is marked as regression? As far as I know, the code you shown had never worked correctly. Associative arrays use `TypeInfo.compare` and `std.typecons.Tuple` has its `opCmp` with by element comparison for a long time. As `Tuple`-s stopped working as AA keys (it worked at least a year ago) I decided it was a compiler change. If it's not please remove the REGRESSION status. See my comment in your PR. To me the old worked behavior was essentially wrong, and I think it should be kept broken until class const correctness will be fixed. https://github.com/D-Programming-Language/phobos/pull/1707#issuecomment-28992632 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11546] string import dependency failure
https://d.puremagic.com/issues/show_bug.cgi?id=11546 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11566] ICE with invalid array op
https://d.puremagic.com/issues/show_bug.cgi?id=11566 --- Comment #2 from github-bugzi...@puremagic.com 2013-11-21 18:25:47 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5977b8ee52351c7602d7bd6815a4d02da8c80c52 Fix Issue 11566 - ICE with invalid array op https://github.com/D-Programming-Language/dmd/commit/7760a34fd563b6d2c6702bc4123e5ef31e5ff525 Merge pull request #2842 from yebblies/issue11566 Issue 11566 - ICE with invalid array op -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11487] dmd segfaults on writefln in nested template
https://d.puremagic.com/issues/show_bug.cgi?id=11487 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||ice, pull Severity|normal |regression --- Comment #1 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:26:46 PST --- This is a regression from 2.063. https://github.com/D-Programming-Language/dmd/pull/2848 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11566] ICE with invalid array op
https://d.puremagic.com/issues/show_bug.cgi?id=11566 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11190] DMD segfaults in template resolution with alias this
https://d.puremagic.com/issues/show_bug.cgi?id=11190 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||ice Status|NEW |RESOLVED Platform|x86 |All Resolution||DUPLICATE --- Comment #2 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:32:46 PST --- *** This issue has been marked as a duplicate of issue 11518 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11518] DMD segfault on multiple template match
https://d.puremagic.com/issues/show_bug.cgi?id=11518 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||blm...@gmail.com --- Comment #3 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:32:46 PST --- *** Issue 11190 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10439] Deprecate float.min, double.min, real.min, and later remove them
https://d.puremagic.com/issues/show_bug.cgi?id=10439 --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-22 13:30:13 EST --- Now deprecated: https://github.com/D-Programming-Language/dmd/commit/ed02cea3f23e44fadcd2b83a687eaf4873b630f5 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10305] Make array operations output type the same as the input one for fixed sized arrays
https://d.puremagic.com/issues/show_bug.cgi?id=10305 yebblies yebbl...@gmail.com changed: What|Removed |Added Platform|x86 |All OS/Version|Windows |All Severity|normal |enhancement -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10659] Program segfaults using std.algorithm.map and std.algorithm.filter
https://d.puremagic.com/issues/show_bug.cgi?id=10659 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Comment #2 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:36:06 PST --- Fixed in 2.064. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10248] DMD fails to compile with Microsoft Visual Studio 2010
https://d.puremagic.com/issues/show_bug.cgi?id=10248 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #2 from yebblies yebbl...@gmail.com 2013-11-21 23:43:00 EST --- Fixed? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8344] segfault on recursive template constraint evaluation
https://d.puremagic.com/issues/show_bug.cgi?id=8344 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:42:16 PST --- *** This issue has been marked as a duplicate of issue 10074 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11574] New: Improper behavior of scope(failure)
https://d.puremagic.com/issues/show_bug.cgi?id=11574 Summary: Improper behavior of scope(failure) Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: shammah.chancel...@gmail.com --- Comment #0 from Shammah Chancellor shammah.chancel...@gmail.com 2013-11-21 18:40:30 PST --- It was brought to my attention that scope(failure) can prevent the bubbling of exceptions by returning from the failure statement. This is bad behavior as scope failures can unintentionally prevent other scope failures from occurring. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11570] New: AssertError with opDispatch
https://d.puremagic.com/issues/show_bug.cgi?id=11570 Summary: AssertError with opDispatch Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: stevencoe...@gmail.com --- Comment #0 from stevencoe...@gmail.com 2013-11-21 09:31:20 PST --- Following code generates an AssertError when executed. class forward(T) { void opDispatch(string s, T2)(T2 i) { import std.stdio; writeln(s); } } void main() { forward!(string) a; a.foo(1); } dmd forward.d ./forward core.exception.AssertError@forward.d(4): null this ./forward(_d_assert_msg+0x18) [0x807beb8] ./forward(void forward.forward!(immutable(char)[]).forward.opDispatch!(foo, int).opDispatch(int)+0x29) [0x8073c4d] ./forward(_Dmain+0xc) [0x8073c20] ./forward(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runMain()+0x10) [0x807c3e0] ./forward(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate())+0x18) [0x807c080] ./forward(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void runAll()+0x37) [0x807c427] ./forward(extern (C) int rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void tryExec(scope void delegate())+0x18) [0x807c080] ./forward(_d_run_main+0x121) [0x807c051] ./forward(main+0x14) [0x807bf24] /lib32/libc.so.6(__libc_start_main+0xe7) [0xf751b597] ./forward() [0x8073b41] -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8200] DMD segfault: template aliasing result of map
https://d.puremagic.com/issues/show_bug.cgi?id=8200 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6801] access violation when passing a function literal to the mixin and calling it from function that has other declarations
https://d.puremagic.com/issues/show_bug.cgi?id=6801 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #2 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:54:05 PST --- *** This issue has been marked as a duplicate of issue 11545 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11545] Aggregate function literal member should not have access to enclosing scope
https://d.puremagic.com/issues/show_bug.cgi?id=11545 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||luka8...@owave.net --- Comment #3 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:54:07 PST --- *** Issue 6801 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11575] New: [dox] std.algorithm.remove navigation link points to wrong place
https://d.puremagic.com/issues/show_bug.cgi?id=11575 Summary: [dox] std.algorithm.remove navigation link points to wrong place Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: hst...@quickfur.ath.cx --- Comment #0 from hst...@quickfur.ath.cx 2013-11-21 18:58:01 PST --- This issue is ultimately caused by Ddoc generating non-unique link anchor ids for identifiers. Anchor ids need to be the fully-qualified identifier, not just the last component, since otherwise a module that contains both a module-level function named 'remove' and a documented enum member named 'remove' (as in this case) will have two identical HTML tag id's, which is both spec-violating and leads to wrong behaviour like the 'remove' link at the top of the page pointing to the wrong version of 'delete' in the documentation body. This isn't specific to std.algorithm, of course; any module that have nested members with the same identifier as a module-level symbol will have this problem. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11555] std.algorithm.reverse should return the just-reversed range
https://d.puremagic.com/issues/show_bug.cgi?id=11555 --- Comment #4 from Chuck Allison ch...@freshsources.com 2013-11-21 07:07:10 PST --- Okay then. If I had a vote, I'd go for your first option. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10070] Unexpected exception-related program crash
https://d.puremagic.com/issues/show_bug.cgi?id=10070 bearophile_h...@eml.cc changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME | --- Comment #2 from bearophile_h...@eml.cc 2013-11-21 09:48:50 PST --- Reopened because the problem is still present, on Windows Vista 32 bit, dmd 2.065alpha. This issue was discussed on IRC with several persons. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9992] Default argument from member variable
https://d.puremagic.com/issues/show_bug.cgi?id=9992 --- Comment #3 from yebblies yebbl...@gmail.com 2013-11-22 03:43:23 EST --- Hmm, this doesn't work either. class Foo { int a = 0; void bar(int x = a) { } void baz() { bar(); } } void main() { Foo f = new Foo(); //f.bar(); - does not complain with this commented out } They probably should be banned. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11555] std.algorithm.reverse should return the just-reversed range
https://d.puremagic.com/issues/show_bug.cgi?id=11555 --- Comment #5 from Andrei Alexandrescu and...@erdani.com 2013-11-21 10:38:57 PST --- We can't quite return a new range - this is not the way std.algorithm operates (no allocation, no creation of new ranges). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11576] std.algorithm.remove!(SwapStrategy.unstable) overruns array bounds
https://d.puremagic.com/issues/show_bug.cgi?id=11576 --- Comment #1 from hst...@quickfur.ath.cx 2013-11-21 19:15:49 PST --- P.S. This is on Phobos git HEAD. I haven't checked the latest release to see if it also happens there. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11576] New: std.algorithm.remove!(SwapStrategy.unstable) overruns array bounds
https://d.puremagic.com/issues/show_bug.cgi?id=11576 Summary: std.algorithm.remove!(SwapStrategy.unstable) overruns array bounds Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: hst...@quickfur.ath.cx --- Comment #0 from hst...@quickfur.ath.cx 2013-11-21 19:15:09 PST --- CODE: --- import std.algorithm, std.stdio; void main() { auto arr = [1,2,3,4]; arr = arr.remove!(SwapStrategy.unstable)(1); // OK assert(arr == [1,4,3]); arr = arr.remove!(SwapStrategy.unstable)(1); // OK assert(arr == [1,3]); arr = arr.remove!(SwapStrategy.unstable)(1); // NG assert(arr == [1]); } --- OUTPUT: --- core.exception.RangeError@std.algorithm(8139): Range violation ./test(_d_array_bounds+0x26) [0x43e84e] ./test() [0x438b12] ./test(pure nothrow @safe int[] std.algorithm.__T6removeVE3std9algorithm12SwapStrategy0TAiTiZ.remove(int[], int)+0xab) [0x42e11b] ./test(_Dmain+0x154) [0x42dde4] ./test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1()+0x18) [0x435b98] ./test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x435af2] ./test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x30) [0x435b58] ./test(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x435af2] ./test(_d_run_main+0x1a3) [0x435a73] ./test(main+0x17) [0x433d67] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f17abe1d995] --- The range violation occurs at the line marked // NG. This bug consistently happens every time you attempt to remove the last element from an array. In earlier versions of Phobos, this bug does not occur. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10018] Value range propagation for immutable variables
https://d.puremagic.com/issues/show_bug.cgi?id=10018 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||WORKSFORME --- Comment #7 from yebblies yebbl...@gmail.com 2013-11-22 03:11:57 EST --- This seems to work just fine: void main() { immutable int i = 1; byte x = i; } -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10201] = void initialization should not be allowed in @safe
https://d.puremagic.com/issues/show_bug.cgi?id=10201 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||yebbl...@gmail.com Severity|normal |enhancement --- Comment #3 from yebblies yebbl...@gmail.com 2013-11-22 02:27:23 EST --- As noted in the github discussion, this is working as designed. Unless you can break memory safety without using @system features, it's an enhancement. http://forum.dlang.org/post/ko5d7a$abj$1...@digitalmars.com -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10152] Refused uint array concat with compatible array literal
https://d.puremagic.com/issues/show_bug.cgi?id=10152 yebblies yebbl...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC||yebbl...@gmail.com Resolution||DUPLICATE --- Comment #1 from yebblies yebbl...@gmail.com 2013-11-22 02:36:31 EST --- *** This issue has been marked as a duplicate of issue 10476 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1955] debug info for temp variables
https://d.puremagic.com/issues/show_bug.cgi?id=1955 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #4 from Martin Nowak c...@dawg.eu 2013-11-21 07:58:07 PST --- The frontend uses '__' prefixed variables for temporaries. They are not handled specially by the backend, therefor the debug info. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10074] segfault in dmd
https://d.puremagic.com/issues/show_bug.cgi?id=10074 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #7 from Kenji Hara k.hara...@gmail.com 2013-11-21 18:42:16 PST --- *** Issue 8344 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11576] std.algorithm.remove!(SwapStrategy.unstable) overruns array bounds
https://d.puremagic.com/issues/show_bug.cgi?id=11576 hst...@quickfur.ath.cx changed: What|Removed |Added Keywords||pull --- Comment #2 from hst...@quickfur.ath.cx 2013-11-21 19:37:11 PST --- https://github.com/D-Programming-Language/phobos/pull/1710 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4983] [ICE] Stack overflow while initializing struct member with address of one of its methods
https://d.puremagic.com/issues/show_bug.cgi?id=4983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull Platform|Other |All OS/Version|Windows |All --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-11-21 19:37:36 PST --- https://github.com/D-Programming-Language/dmd/pull/2849 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11577] New: Template std.typetuple.NoDuplicates removes const types for classes and structs
https://d.puremagic.com/issues/show_bug.cgi?id=11577 Summary: Template std.typetuple.NoDuplicates removes const types for classes and structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: goldmax3...@gmail.com --- Comment #0 from GoldMax goldmax3...@gmail.com 2013-11-21 19:52:13 PST --- // OK static assert(is(NoDuplicates!(int, const(int)) == TypeTuple!(int, const(int; // Error - result is (DateTime) static assert(is(NoDuplicates!(DateTime, const(DateTime)) == TypeTuple!(DateTime, const(DateTime; // Error - result is (Object) static assert(is(NoDuplicates!(Object, const(Object)) == TypeTuple!(Object, const(Object; -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10936] unittest in struct body makes crash dmd
https://d.puremagic.com/issues/show_bug.cgi?id=10936 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Platform|x86_64 |All OS/Version|Linux |All --- Comment #4 from Kenji Hara k.hara...@gmail.com 2013-11-21 19:59:03 PST --- The ICE will be fixed by fixing issue 10938. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 1832] reading/writing an archive causes data loss; std.zip horribly broken
https://d.puremagic.com/issues/show_bug.cgi?id=1832 --- Comment #5 from github-bugzi...@puremagic.com 2013-11-21 20:04:42 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/95af4e3c8c78020109af75c98ed5478c1b813ba7 Fixed phobos bug 1832 https://github.com/D-Programming-Language/phobos/commit/289c10521ae8f4c36cf00cbf71dac8ae9265809e Merge pull request #1697 from trikko/master Issue 1832 - reading/writing an archive causes data loss; std.zip horribly broken -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11075] ICE(struct.c) after gagged error in struct field initializer
https://d.puremagic.com/issues/show_bug.cgi?id=11075 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #7 from Kenji Hara k.hara...@gmail.com 2013-11-21 20:09:09 PST --- *** Issue 10832 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10832] ICE on struct template semantic with missing identifier and recursive instantiations
https://d.puremagic.com/issues/show_bug.cgi?id=10832 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Kenji Hara k.hara...@gmail.com 2013-11-21 20:09:09 PST --- *** This issue has been marked as a duplicate of issue 11075 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 11572] eager apply for ranges
https://d.puremagic.com/issues/show_bug.cgi?id=11572 --- Comment #3 from Martin Nowak c...@dawg.eu 2013-11-21 20:36:37 PST --- (In reply to comment #2) Simply each is enough and has precedents in other languages like Groovy and Ruby. Yep, 'each' is good. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4983] [ICE] Stack overflow while initializing struct member with address of one of its methods
https://d.puremagic.com/issues/show_bug.cgi?id=4983 --- Comment #6 from github-bugzi...@puremagic.com 2013-11-21 21:43:54 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ea594913e1ec5d050af0c8bbf6c9a2ff6fea5995 fix Issue 4983 - [ICE] Stack overflow while initializing struct member with address of one of its methods https://github.com/D-Programming-Language/dmd/commit/3f51edc81a9465fd896acfb1f42a81acb90397f7 Merge pull request #2849 from 9rnsr/fix4983 Issue 4983 - [ICE] Stack overflow while initializing struct member with address of one of its methods -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4983] [ICE] Stack overflow while initializing struct member with address of one of its methods
https://d.puremagic.com/issues/show_bug.cgi?id=4983 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9690] cannot access to @disable'd symbol from inner function of another @disable'd
https://d.puremagic.com/issues/show_bug.cgi?id=9690 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9690] cannot access to @disable'd symbol from inner function of another @disable'd
https://d.puremagic.com/issues/show_bug.cgi?id=9690 --- Comment #4 from github-bugzi...@puremagic.com 2013-11-21 22:03:20 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/57d52dd4ab946b7b9813df1f57021880861fabcd fix Issue 9690 - cannot access to @disable'd symbol from inner function of another @disable'd https://github.com/D-Programming-Language/dmd/commit/20c23427355bb9d91ab995c4c3cb153a17d29985 Merge pull request #2799 from 9rnsr/fix9690 Issue 9690 - cannot access to @disable'd symbol from inner function of another @disable'd -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 10936] unittest in struct body makes crash dmd
https://d.puremagic.com/issues/show_bug.cgi?id=10936 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-11-21 22:19:34 PST --- Forward reference issue is a dup of issue 9050. *** This issue has been marked as a duplicate of issue 9050 *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9050] Too early instantiation of template structs
https://d.puremagic.com/issues/show_bug.cgi?id=9050 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid Summary|failing return type |Too early instantiation of |inference |template structs Severity|minor |major --- Comment #4 from Kenji Hara k.hara...@gmail.com 2013-11-21 22:17:44 PST --- https://github.com/D-Programming-Language/dmd/pull/2851 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 9050] Too early instantiation of template structs
https://d.puremagic.com/issues/show_bug.cgi?id=9050 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||code.via...@gmail.com --- Comment #5 from Kenji Hara k.hara...@gmail.com 2013-11-21 22:19:34 PST --- *** Issue 10936 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3031] scoped static var conflicts while linking
https://d.puremagic.com/issues/show_bug.cgi?id=3031 Jerry Quinn jlqu...@optonline.net changed: What|Removed |Added CC||jlqu...@optonline.net --- Comment #6 from Jerry Quinn jlqu...@optonline.net 2013-11-21 22:18:21 PST --- I just got bit by this. Any new thoughts? -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---