[Issue 24324] A default-initialized variable is not identical to its init value when it contains a default-initialized member variable that is a dynamic array

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24324 --- Comment #3 from Jonathan M Davis --- (In reply to RazvanN from comment #1) > A consequence of this is that `assert(S.init is S.init)` fails in this case. > Which is kind of absurd. However, I would argue that when dynamic arrays are > involved

[Issue 23818] Error HMODULE not defined, please use HMODULE

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23818 --- Comment #5 from Victor Abenil --- For further clarification I replicated the same issue on dmd v2.106.1 and dmd 2.107.0-beta.1. I can also replicate it on ldc2 v1.34.0, v1.35.0 and 1.36.0 --

[Issue 23818] Error HMODULE not defined, please use HMODULE

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

[Issue 24326] New: ImportC: segfault on nameless enum translation with -H

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24326 Issue ID: 24326 Summary: ImportC: segfault on nameless enum translation with -H Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ImportC

[Issue 24324] A default-initialized variable is not identical to its init value when it contains a default-initialized member variable that is a dynamic array

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24324 --- Comment #4 from Jonathan M Davis --- (In reply to Bastiaan Veelo from comment #2) > I argue that it should be made an error to define an initializer of a > non-shared non-static field that allocates. Thread: >

[Issue 23818] Error HMODULE not defined, please use HMODULE

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23818 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 23209] Linker error for valid code.

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23209 Bastiaan Veelo changed: What|Removed |Added CC||basti...@veelo.net --- Comment #4 from

[Issue 24325] New: Type inference has precedence

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24325 Issue ID: 24325 Summary: Type inference has precedence Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority:

[Issue 13700] Rejected valid conversion from slice to fixed size array

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13700 Dennis changed: What|Removed |Added CC||turkey...@gmail.com --- Comment #4 from Dennis

[Issue 24323] x[0 .. 2] cast to Ty[2], x[$-2 .. $] does not?

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24323 --- Comment #3 from Manu --- Difficult or otherwise, it's a pretty lame hole, and it's been that way for decades. It should be done. --

[Issue 24323] x[0 .. 2] cast to Ty[2], x[$-2 .. $] does not?

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24323 Dennis changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 23209] Linker error for valid code.

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23209 --- Comment #5 from Bastiaan Veelo --- Workaround: use the `-allinst` option. --

[Issue 24325] Type inference has precedence

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24325 Marcelo Silva Nascimento Mancini changed: What|Removed |Added OS|Windows |All

[Issue 24324] A default-initialized variable is not identical to its init value when it contains a default-initialized member variable that is a dynamic array

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24324 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from

[Issue 23515] Named Enum of function SIGSEGFAULT

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23515 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from

[Issue 24324] A default-initialized variable is not identical to its init value when it contains a default-initialized member variable that is a dynamic array

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24324 Bastiaan Veelo changed: What|Removed |Added CC||basti...@veelo.net --- Comment #2 from

[Issue 24325] Type inference has precedence over written type when using `static`

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24325 Marcelo Silva Nascimento Mancini changed: What|Removed |Added Summary|Type inference has |Type inference has

[Issue 23515] Named Enum of function SIGSEGFAULT

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23515 --- Comment #2 from Marcelo Silva Nascimento Mancini --- Hello RazvanN. The solution I'm currently using, is by using this templated style: ```d //TODO: Change (x) to (float x) for not generating templates needlessly enum HipEasing : float

[Issue 24325] Type inference has precedence over written type when using `static`

2024-01-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24325 Nick Treleaven changed: What|Removed |Added Keywords||rejects-valid CC|