[Issue 12279] function local imports are not hijack safe
https://issues.dlang.org/show_bug.cgi?id=12279 Sobirari Muhomori changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Sobirari Muhomori --- Fixed in issue 10378. Currently imported symbols are completely hidden by local symbols. *** This issue has been marked as a duplicate of issue 10378 *** --
[Issue 10378] Prevent local imports from hiding local symbols
https://issues.dlang.org/show_bug.cgi?id=10378 Sobirari Muhomori changed: What|Removed |Added CC||c...@dawg.eu --- Comment #36 from Sobirari Muhomori --- *** Issue 12279 has been marked as a duplicate of this issue. *** --
[Issue 12939] More uniform error messages for not nothrow and not @safe functions
https://issues.dlang.org/show_bug.cgi?id=12939 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 12939] More uniform error messages for not nothrow and not @safe functions
https://issues.dlang.org/show_bug.cgi?id=12939 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/72e82e63d478b6f6d095255b020169a25b12154e partially address Issue 12939 https://github.com/dlang/dmd/commit/35909fa6a77177147559255737517e041d4ff014 Merge pull request #5846 from WalterBright/fix12939 partially address Issue 12939 --
[Issue 13536] Union of delegates breaks @safety
https://issues.dlang.org/show_bug.cgi?id=13536 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8e480a56f514284d919e894c103288dda67ea243 fix Issue 13536 - Union of delegates breaks @safety https://github.com/dlang/dmd/commit/82fa43ff6cdea746aa626af1f8bc1ac52b228e90 Merge pull request #5859 from WalterBright/fix13536 fix Issue 13536 - Union of delegates breaks @safety --
[Issue 13536] Union of delegates breaks @safety
https://issues.dlang.org/show_bug.cgi?id=13536 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14496] void initialization of member with indirections must not be @safe
https://issues.dlang.org/show_bug.cgi?id=14496 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 14496] void initialization of member with indirections must not be @safe
https://issues.dlang.org/show_bug.cgi?id=14496 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/fdfa834382f0fbd1486bd261df042e589dc29676 fix Issue 14496 - void initialization of member with indirections must not be @safe https://github.com/dlang/dmd/commit/3309b7adbb86b26240fcf473a3c6a57315304eec Merge pull request #5861 from WalterBright/fix14496 fix Issue 14496 - void initialization of member with indirections mus… --
[Issue 16177] New: Inner exception cannot be caught by specific type; becomes a collateral of the original exception
https://issues.dlang.org/show_bug.cgi?id=16177 Issue ID: 16177 Summary: Inner exception cannot be caught by specific type; becomes a collateral of the original exception Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: acehr...@yahoo.com (This may be related to bug 15467.) The inner exception cannot be caught by its own specific type. Because of that, it becomes a collateral of the original exception. /* This BUG manifests itself on two conditions: 1) scope statement in main() must be 'exit' (change it to 'failure' and there is no bug.) 2) bar() must catch by specific exception type Bar (alias TypeToCatch to Exception or Throwable in bar() and there is no bug.) */ class Foo : Exception { this() { super("Foo"); } } class Bar : Exception { this() { super("Bar"); } } void main() { /* First, a sanity check that bar() does indeed handle its * own exception. */ bar(); try { /* bar() will throw and handle it's own exception while a * Foo is in flight. */ scope (exit) bar(); /* This exception will be in flight while bar() throws * and handles its own exception. */ throw new Foo(); } catch (Foo e) { /* Since bar() has supposedly handled its own exception, * we expect no collateral exception here. */ assert(e.next is null);// THIS ASSERT FAILS } } void bar() { bool caught = false; alias TypeToCatch = Bar; try { throw new Bar(); } catch (TypeToCatch e) { caught = true; } assert(caught); } Ali --
[Issue 11047] UDA + getAttributes bypass purity/safety check
https://issues.dlang.org/show_bug.cgi?id=11047 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/55bd78ded94a1f40ee80c4e42791f216e5d58c41 fix Issue 11047 - UDA + getAttributes bypass purity/safety check https://github.com/dlang/dmd/commit/d1c3b6a1eab3347d9b6eb832b99ee45f70bd3702 Merge pull request #5863 from WalterBright/fix11047 fix Issue 11047 - UDA + getAttributes bypass purity/safety check --
[Issue 12527] Cannot make @system function/delegate alias in a @safe section
https://issues.dlang.org/show_bug.cgi?id=12527 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b33039ba827142547bf9107007154abea54c9c23 fix Issue 12527 - Cannot make @system function/delegate alias in a @safe section https://github.com/dlang/dmd/commit/b67694a0d74437d3a1581da2b9f1b785dc7b3c88 Merge pull request #5867 from WalterBright/fix12527 fix Issue 12527 - Cannot make @system function/delegate alias in a @s… --
[Issue 12527] Cannot make @system function/delegate alias in a @safe section
https://issues.dlang.org/show_bug.cgi?id=12527 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 16178] New: Can't alias a mixin
https://issues.dlang.org/show_bug.cgi?id=16178 Issue ID: 16178 Summary: Can't alias a mixin Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: hba...@hotmail.com A brief sample: alias foo = mixin(bar!T); where var!T returns the name of a valid variable, and thus mixin' it provides access to said variable. The previous code won't compile: Error: basic type expected, not mixin There is a known workaround around this issue: alias hack(alias a) = a; alias foo = hack!(mixin(bar!T)); But clearly it shouldn't have to be done like this. --
[Issue 14532] switch block allows creating uninitialized variables
https://issues.dlang.org/show_bug.cgi?id=14532 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/1a26535fd627ca398d2609228bce20905440360d fix Issue 14532 - switch block allows creating uninitialized variables https://github.com/dlang/dmd/commit/039853c2a752c9bc3bef770610ac04cadbdeb51f Merge pull request #5869 from WalterBright/fix14523 fix Issue 14532 - switch block allows creating uninitialized variables --
[Issue 10524] Switch skips initialization of 'with' variable
https://issues.dlang.org/show_bug.cgi?id=10524 Issue 10524 depends on issue 14532, which changed state. Issue 14532 Summary: switch block allows creating uninitialized variables https://issues.dlang.org/show_bug.cgi?id=14532 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --