[Issue 24162] Another example of why @safe is broken

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24162 --- Comment #6 from Jonathan M Davis --- All the GC needs is a pointer to an address in block of memory that it controls, and taking a reference to a member of a dynamic array that's a slice of GC-allocated memory will do that. There is absolutely no

[Issue 24162] Another example of why @safe is broken

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24162 mhh changed: What|Removed |Added CC||maxha...@gmail.com --- Comment #5 from mhh --- This i

[Issue 24165] New: Failed readf leaves File in inconsistent state

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24165 Issue ID: 24165 Summary: Failed readf leaves File in inconsistent state Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Prio

[Issue 24164] New: readf should stop reading a trailing string at whitespace

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24164 Issue ID: 24164 Summary: readf should stop reading a trailing string at whitespace Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24162] Another example of why @safe is broken

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

[Issue 24162] Another example of why @safe is broken

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24162 --- Comment #3 from Jonathan M Davis --- There is nothing undefined about this. I suggest that you read this article: https://dlang.org/articles/d-array-article.html --

[Issue 24162] Another example of why @safe is broken

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24162 --- Comment #2 from tomerfil...@gmail.com --- suppose this function runs in a long living thread. so what you're saying is, it will be leaked forever because the GC will see it's pointed by a stack location? fine. but surely that's undefined behavior

[Issue 24162] Another example of why @safe is broken

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24162 Jonathan M Davis changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 24163] New: Floating-point variadic array bug

2023-09-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24163 Issue ID: 24163 Summary: Floating-point variadic array bug Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: