[Issue 20179] New: 'goto' skips over declaration triggered for unused variable

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20179 Issue ID: 20179 Summary: 'goto' skips over declaration triggered for unused variable Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

[Issue 20178] Add TypeInfo_Class/TypeInfo_Interface.isDerivedFrom (equivalent to C#/Java isAssignableFrom with the argument swapped with the receiver)

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20178 Nathan S. changed: What|Removed |Added Summary|Add |Add

[Issue 20178] Add TypeInfo_Class/TypeInfo_Interface.isDerivedFrom (equivalent to of C#/Java isAssignableFrom with the argument swapped with the receiver)

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20178 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @n8sh

[Issue 20178] New: Add TypeInfo_Class/TypeInfo_Interface.isDerivedFrom (equivalent to of C#/Java isAssignableFrom with the argument swapped with the receiver)

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20178 Issue ID: 20178 Summary: Add TypeInfo_Class/TypeInfo_Interface.isDerivedFrom (equivalent to of C#/Java isAssignableFrom with the argument swapped with the receiver) Product: D

[Issue 1382] memory allocated for arrays in CTFE functions during compilation is not released

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1382 --- Comment #16 from Walter Bright --- Some progress: https://github.com/dlang/dmd/pull/10343 --

[Issue 20006] [REG 2.086.0] DIP1000: return scope ref outlives the scope of the argument

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20006 --- Comment #2 from Eugene Wissner --- The constructor parameter is marked with "return scope ref" and it means that Inserter isn't allowed to outlive it. You can also write this(return scope ref int i) @trusted { this.i = } and it worked

[Issue 20177] New: Streamline cycle detection code due to no more duplicates

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20177 Issue ID: 20177 Summary: Streamline cycle detection code due to no more duplicates Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 16208] moduleinfo importedModules contains needless duplicates

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16208 Steven Schveighoffer changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 20037] Imports in module info should be deduplicated

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20037 Steven Schveighoffer changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 16208] moduleinfo importedModules contains needless duplicates

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16208 --- Comment #6 from Steven Schveighoffer --- Excellent! Thank you Rainer. It's possible we can clean the cycle detection code a bit now that we don't have this problem (I believe I am using a hash at runtime to deduplicate). --

[Issue 1654] Array concatenation result should be implicitly castable between mutable and immutable if the elements support it.

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1654 --- Comment #34 from Steven Schveighoffer --- (In reply to RazvanN from comment #32) > This code: > > char *toStringz2(const(char)[] s) > { > return (s ~ "\0").ptr; > } > > compiles successfully today, so I am going to mark this one as

[Issue 15651] filter: only parameters or stack based variables can be inout

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15651 --- Comment #7 from Steven Schveighoffer --- (In reply to Harry Vennik from comment #6) > /* inout resolves to mutable in call to getRef */ > c.getRef(5) = 8; // Undefined behavior That would fail because c.getRef(5) would return ref

[Issue 19105] Bogus recursive template expansion via getSymbolsByUDA

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19105 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #4 from Dlang Bot ---

[Issue 20172] using functions with full path and without preliminary import

2019-08-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20172 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED CC|