[Issue 21746] New: Discrepancy between foreach over tuple and static foreach

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21746 Issue ID: 21746 Summary: Discrepancy between foreach over tuple and static foreach Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 14831] Each function local symbols should have unique mangled name

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14831 Mathias LANG changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 14831] Each function local symbols should have unique mangled name

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14831 Mathias LANG changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 21747] New: core.demangle does not understand function-local mangling

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21747 Issue ID: 21747 Summary: core.demangle does not understand function-local mangling Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

[Issue 18627] std.complex is a lot slower than builtin complex types at number crunching

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18627 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 Mario Kroeplin changed: What|Removed |Added Keywords||industry CC|

[Issue 21746] Discrepancy between foreach over tuple and static foreach

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21746 moonlightsenti...@disroot.org changed: What|Removed |Added CC||moonlightsentinel@disroot.o

[Issue 21478] Setting a default value to an object field which is a 2D array may cause memory corruption

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21478 Georgy Markov changed: What|Removed |Added Keywords||backend, ice Status|NEW

[Issue 16432] JSON incorrectly parses to string

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16432 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #2 from Razv

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 --- Comment #3 from RazvanN --- (In reply to RazvanN from comment #2) > As a workaround, simply returning `i` in the delegate seems to work > correctly: > > struct Foo > { > int i; > Bar bar; > this(int i) > { > this.i = i; >

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 --- Comment #4 from FeepingCreature --- I think that's correct. Since it's a struct, it should save "this" by value though. typeof(this) is Foo, not Foo*. --

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 --- Comment #5 from RazvanN --- (In reply to FeepingCreature from comment #4) > I think that's correct. > > Since it's a struct, it should save "this" by value though. typeof(this) is > Foo, not Foo*. I've investigated this a bit, but given my n00b

[Issue 5207] Immutability is broken in constructors

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5207 --- Comment #7 from hst...@quickfur.ath.cx --- Here's an example of a problematic case: -- import std; struct S { int x; } immutable S s; immutable(S)* ptr; void fun(immutable(S)* p) { ptr = p; } shared static this() {

[Issue 21744] [REG 2.092.0] NRVO sometimes not performed when it should be

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21744 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --

[Issue 21745] Closure created in struct constructor passed to class constructor is not heap allocated

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21745 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --

[Issue 21716] std.regex performance regression (additional GC allocation)

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21716 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 21748] New: Return value of forward-referenced auto ref function mistakenly treated as lvalue

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21748 Issue ID: 21748 Summary: Return value of forward-referenced auto ref function mistakenly treated as lvalue Product: D Version: D2 Hardware: All OS: All

[Issue 21748] Return value of forward-referenced auto ref function mistakenly treated as lvalue

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21748 Paul Backus changed: What|Removed |Added Keywords||accepts-invalid --

[Issue 10934] D logo missing when building website on Windows

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10934 mhh changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 3124] updates to version.dd's list of identifiers

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3124 mhh changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 21672] [REG][ICE][SIMD] accessing SIMD type as a short causes compiler ice

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21672 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com Summary|

[Issue 21672] [REG][ICE][SIMD] accessing SIMD type as a short causes compiler ice

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21672 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot --- @WalterB

[Issue 5207] Immutability is broken in constructors

2021-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5207 --- Comment #8 from RazvanN --- (In reply to hsteoh from comment #7) > Here's an example of a problematic case: In the code that you have posted there seems to be an error with regards to module constructors, because if you put the same code in a nor