[Issue 18657] std.range and std.algorithm can't handle refRange
https://issues.dlang.org/show_bug.cgi?id=18657 --- Comment #5 from Dlang Bot --- dlang/phobos pull request #6935 "make `cycle`, `splitter`, `roundRobin`, and `until` compatible with `RefRange`" was merged into stable: - 3ef957baf536b55fa9ebd93050e187f52e2c47f5 by aG0aep6G: make `cycle` compatible with `RefRange` Part of a series on issue 18657. - 729f732fbc8716baa712ec9b5e645fc4919a9e78 by aG0aep6G: make `splitter` compatible with `RefRange` Part of a series on issue 18657. - aeea9598bde91a9e42e5a5bad791ee3378d84e89 by aG0aep6G: make `roundRobin` compatible with `RefRange` Part of a series on issue 18657. - bd47453b49cf93e77cf11972f4167b9fd420f58d by aG0aep6G: make `until` compatible with `RefRange` Part of a series on issue 18657. https://github.com/dlang/phobos/pull/6935 --
[Issue 19621] The specification is self-contradictory on immutability
https://issues.dlang.org/show_bug.cgi?id=19621 Dlang Bot changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Dlang Bot --- dlang/dlang.org pull request #2561 "spec: close a loophole in definition of `@trusted`" was merged into master: - d0e4fcfab19c07baf978bc9eed926da1a61dc07e by aG0aep6G: fix issue 19621 - The specification is self-contradictory on immutability https://github.com/dlang/dlang.org/pull/2561 --
[Issue 13285] wrong codegen for destructor call of unnamed struct instance on 64 bit environments
https://issues.dlang.org/show_bug.cgi?id=13285 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #9485 "fix Issue 13285 - wrong codegen for destructor call of unnamed struct…" was merged into stable: - eda7170d3f3b97698391cfa35944098ce821848a by Rainer Schuetze: fix Issue 13285 - wrong codegen for destructor call of unnamed struct instance on 64 bit environments stack alignment is not coupled with -fPIC https://github.com/dlang/dmd/pull/9485 --
[Issue 19768] New: Compiler segfaults with -checkaction=context
https://issues.dlang.org/show_bug.cgi?id=19768 Issue ID: 19768 Summary: Compiler segfaults with -checkaction=context Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: ki...@gmx.net >From https://forum.dlang.org/post/eijbfurdbbnhvepfa...@forum.dlang.org: ``` import std.experimental.all; ``` DMD v2.085.1-beta.1 (incl. druntime fix https://github.com/dlang/druntime/pull/2528) crashes with `-c -unittest -checkaction=context`. --
[Issue 19767] Classes that inherit from an interface can override static interface methods
https://issues.dlang.org/show_bug.cgi?id=19767 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com Assignee|nob...@puremagic.com|edi33...@gmail.com --- Comment #2 from Andrei Alexandrescu --- Yah, this should be clarified in the spec. Thanks Edi! --
[Issue 19767] Classes that inherit from an interface can override static interface methods
https://issues.dlang.org/show_bug.cgi?id=19767 Basile-z changed: What|Removed |Added CC||b2.t...@gmx.com Hardware|x86_64 |All OS|Linux |All Severity|enhancement |normal --- Comment #1 from Basile-z --- I don't know if the report is valid. 1. You can still call the interface version of foo, e.g `(new C).D.foo();` 2. C.foo() is not virtual and does not call the inherited D.foo(). Because 2, the specs are respected. It's not an override but rather a case of hijacking. --
[Issue 19767] New: Classes that inherit from an interface can override static interface methods
https://issues.dlang.org/show_bug.cgi?id=19767 Issue ID: 19767 Summary: Classes that inherit from an interface can override static interface methods Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: edi33...@gmail.com This directly contradicts the interface [spec](https://dlang.org/spec/interface.html), pt. 8: "Classes that inherit from an interface may not override final or static interface member functions." interface D { void bar(); static void foo() { } } class C : D { void bar() { } // ok void foo() { } // BUG: this is ok, but should error because we cannot override static D.foo() } --
[Issue 19765] std.algorithm.searching.findAmong doesn't `save` like it should
https://issues.dlang.org/show_bug.cgi?id=19765 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/phobos pull request #6934 "fix issue 19765 - std.algorithm.searching.findAmong doesn't `save` li…" was merged into stable: - e1dbed97d8804d9c5618f2edbe9fa78802ca92d5 by aG0aep6G: fix issue 19765 - std.algorithm.searching.findAmong doesn't `save` like it should - 98068cebe7d9d7f25d7dcca30b4ff9e5ce54e10b by aG0aep6G: fixup! fix issue 19765 - std.algorithm.searching.findAmong doesn't `save` like it should https://github.com/dlang/phobos/pull/6934 --
[Issue 19766] New: Cannot pass overload set consisting solely of templated functions as alias
https://issues.dlang.org/show_bug.cgi?id=19766 Issue ID: 19766 Summary: Cannot pass overload set consisting solely of templated functions as alias Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: default_357-l...@yahoo.de Consider the following code: // void foo(int) { } void foo(T : int)(T) { } void bar(T : string)(T) { } void baz(T : bool)(T) { } alias a = foo; alias a = bar; alias a = baz; void test(alias fn)() { fn(0); fn(null); fn(true); } void main() { test!a(); } Result: onlineapp.d: Error: overload alias `onlineapp.a` forward declaration If `foo` is a function, as per the comment, I can pass `a` as an overload set to `test()`, even though the other two functions in the set are templated. However, since `foo` is also a template, I get an inexplicable error message. --
[Issue 16636] Memory corruption when using OSX pthread function in 32-bit with -g enabled
https://issues.dlang.org/show_bug.cgi?id=16636 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC||greensunn...@gmail.com Resolution|--- |WONTFIX --- Comment #2 from Seb --- Closing as WONTFIX as OSX 32-bit is no longer supported. --
[Issue 12066] dmd on osx 10.[89] in 32 bit mode memory corruption
https://issues.dlang.org/show_bug.cgi?id=12066 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC||greensunn...@gmail.com Resolution|--- |WONTFIX --- Comment #2 from Seb --- Closing as WONTFIX as OSX 32-bit is no longer supported. --