[Issue 22799] opApply() delegates not required to be scope

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22799 --- Comment #1 from Walter Bright --- The spec says: "Best practice is to annotate delegate parameters with scope when possible." so this bug is invalid. --

[Issue 22799] New: opApply() delegates not required to be scope

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22799 Issue ID: 22799 Summary: opApply() delegates not required to be scope Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priori

[Issue 22799] opApply() delegates not required to be scope

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22799 Walter Bright changed: What|Removed |Added Keywords||safe --

[Issue 22798] defaultGetoptPrinter should be @safe

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22798 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @ljmf00

[Issue 22798] New: defaultGetoptPrinter should be @safe

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22798 Issue ID: 22798 Summary: defaultGetoptPrinter should be @safe Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority:

[Issue 17416] SocketOption.REUSEPORT not available on linux

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17416 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @Geod24

[Issue 22797] [REG master] Internal Compiler Error: cannot mixin static assert ''

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22797 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 22797] [REG master] Internal Compiler Error: cannot mixin static assert ''

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22797 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot --- @ibuclaw

[Issue 22797] [REG master] Internal Compiler Error: cannot mixin static assert ''

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22797 --- Comment #2 from Iain Buclaw --- The problem is this line: https://github.com/dlang/dmd/blob/309f7710f22ef92e767434011c7f44a01d2c5390/src/dmd/statementsem.d#L4823 else if (s.kind() == "static assert" || // kludge, should have isStaticAssert

[Issue 22797] [REG master] Internal Compiler Error: cannot mixin static assert ''

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22797 Iain Buclaw changed: What|Removed |Added CC||ibuc...@gdcproject.org --- Comment #1 from Iai

[Issue 22797] New: [REG master] Internal Compiler Error: cannot mixin static assert ''

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22797 Issue ID: 22797 Summary: [REG master] Internal Compiler Error: cannot mixin static assert '' Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 22796] New: dual-context recursive functions seem to be broken

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22796 Issue ID: 22796 Summary: dual-context recursive functions seem to be broken Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 22795] New: Access denied when trying to download DMD 2.099.0-beta.1

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22795 Issue ID: 22795 Summary: Access denied when trying to download DMD 2.099.0-beta.1 Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 22792] Wrong inference of opApply

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22792 --- Comment #4 from moonlightsenti...@disroot.org --- (In reply to moonlightsentinel from comment #1) > [...] "match with implicit conversions". Correction: This applies only to the mutable overload because the delegate type changes due to the differ

[Issue 22792] Wrong inference of opApply

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22792 --- Comment #3 from moonlightsenti...@disroot.org --- Same behaviour without the first parameter that is identical for every overload: struct S { int opApply(int delegate(ref int) dg) { puts("mutable int"); return 0; } int op

[Issue 22792] Wrong inference of opApply

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22792 --- Comment #2 from moonlightsenti...@disroot.org --- Slightly modified test case: import core.stdc.stdio; struct S { int opApply(int delegate(ref const(int), ref int) dg) { puts("mutable int"); return 0; } int opApply(int delegate(ref c

[Issue 22792] Wrong inference of opApply

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22792 moonlightsenti...@disroot.org changed: What|Removed |Added CC||moonlightsentinel@disroot.o

[Issue 22794] New: Compile-time format validation gives unhelpful error on too many arguments

2022-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22794 Issue ID: 22794 Summary: Compile-time format validation gives unhelpful error on too many arguments Product: D Version: D2 Hardware: x86_64 OS: Linux