[Issue 21929] delegates capture do not respect scoping

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21929 --- Comment #11 from Walter Bright --- Even allocating a closure on the gc heap is not a solution here, because only one allocation will be made which will be shared by each lambda, exhibiting the same behavior. --

[Issue 21929] delegates capture do not respect scoping

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21929 --- Comment #10 from Walter Bright --- Replying to comment #1: The observed behavior is a direct result of lambdas in D not capturing by value, they capture by reference. It is also a direct result of loop variables, `i` and `index` although

[Issue 22824] New: alias template parameter bound to wrong symbol (Error: template instance does not match template declaration)

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22824 Issue ID: 22824 Summary: alias template parameter bound to wrong symbol (Error: template instance does not match template declaration) Product: D Version: D2 Hardware: x86_64

[Issue 22823] dmd.root.file: File.read fails to read any file on PPC

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

[Issue 22822] core.sys.posix.sys.stat: PPC stat_t bindings corrupt

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

[Issue 22777] stat struct in core.sys.windows.stat assumes CRuntime_DigitalMars

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

[Issue 22822] core.sys.posix.sys.stat: PPC stat_t bindings corrupt

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

[Issue 18609] `is` expression identifier accessible outside `static if`

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18609 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18711] Suggest to slice a static array when the called function would accept it

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18711 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 9626] More precise error message in some cases when failed template constraint

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9626 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 4970] Failed template instantiations need to propogate

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4970 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 20149] [DIP1000] Local data escapes inout method if not decorated with return

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

[Issue 22823] New: dmd.root.file: File.read fails to read any file on PPC

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22823 Issue ID: 22823 Summary: dmd.root.file: File.read fails to read any file on PPC Product: D Version: D2 Hardware: PowerPC OS: Linux Status: NEW Severity:

[Issue 22822] New: core.sys.posix.sys.stat: PPC stat_t bindings corrupt

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22822 Issue ID: 22822 Summary: core.sys.posix.sys.stat: PPC stat_t bindings corrupt Product: D Version: D2 Hardware: PowerPC OS: Linux Status: NEW Severity: blocker

[Issue 3254] [module] Module member visibility depends on declaration order

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3254 --- Comment #10 from FeepingCreature --- Oh, I misread the original report: it's now in reverse; foo(0.0f) compiles, even though it calls a private function. Should I open a new bug? --

[Issue 340] [Tracker] Forward reference bugs and other order-of-declaration issues

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=340 Issue 340 depends on issue 3254, which changed state. Issue 3254 Summary: [module] Module member visibility depends on declaration order https://issues.dlang.org/show_bug.cgi?id=3254 What|Removed |Added

[Issue 3254] [module] Module member visibility depends on declaration order

2022-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3254 FeepingCreature changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 22798] defaultGetoptPrinter should be @safe

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