[Issue 20166] among should have an overload for fixed-length arrays

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20166 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #1 from Nick Tre

[Issue 23769] Lambda isn't a unary predicate for lambda that doesn't compile

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23769 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #1 from Nick Tre

[Issue 7432] DMD allows variables to be declared as pure

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7432 Dennis changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 23773] New: array length assignment in assert condition should error

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23773 Issue ID: 23773 Summary: array length assignment in assert condition should error Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 23773] array length assignment in assert condition should error

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23773 --- Comment #1 from Nick Treleaven --- Looks like this code needs modifying: https://github.com/dlang/dmd/pull/12165 --

[Issue 13683] More precise error message for wrong lambda

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13683 --- Comment #5 from Nick Treleaven --- static assert is an improvement over the constraint, but it still hides the actual error message which should be: Error: use `!is` instead of `!=` when comparing with `null` Removing the constraint allows the

[Issue 13683] More precise error message for wrong lambda

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13683 --- Comment #6 from Nick Treleaven --- > Without a compiler solution BTW that would show the failing lambda with Phobos as is. The static assert PR discussion said a compiler solution is needed rather than having to update every template that accept

[Issue 23765] Compiler crashes when extending a class and overriding allocation functions without selector

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23765 --- Comment #1 from Marcelo Silva Nascimento Mancini --- The selectors aren't actually inferred, I got a plenty of bugs from that. They could be inferred or just get some compiler errors from that --

[Issue 23766] Mixin template should support core.attribute:selector

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23766 Marcelo Silva Nascimento Mancini changed: What|Removed |Added Priority|P1 |P4 --

[Issue 23774] New: [REG 2.103-beta] cannot inline function `core.bitop.Split64.this`

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23774 Issue ID: 23774 Summary: [REG 2.103-beta] cannot inline function `core.bitop.Split64.this` Product: D Version: D2 Hardware: x86 OS: All Status: NEW

[Issue 7432] DMD allows variables to be declared as pure

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7432 --- Comment #22 from Stewart Gordon --- I was beginning to think this makes it part of the function type rather than being a declaration attribute. I make out from what you say that, for reasons of parsing convenience, syntactically it's a declaratio

[Issue 23772] Compiler Paths & Microsoft Visual Studio support for D

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23772 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #1 from Rai

[Issue 23754] betterC cannot use std.format at compile time

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23754 --- Comment #2 from Walter Bright --- The problem is illustrated with: --- void test() { enum s = foo(); } int foo() { new C(); return 1; } class C { } --- While executing foo() at compile time works, even with -betterC, the compiler

[Issue 7432] DMD allows variables to be declared as pure

2023-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7432 --- Comment #23 from Dennis --- (In reply to Stewart Gordon from comment #22) > Have I got this right? Yes --