[Issue 23666] Recognize template opApply pattern

2024-05-31 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23666 --- Comment #4 from Nick Treleaven --- Sorry, yes. This proposal seems workable. --

[Issue 22903] IFTI for immediately-invoked lambda keeps qualifier for pointer/slice argument

2024-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22903 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #1 from tim

[Issue 24574] Scope not inferred on this parameter

2024-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24574 --- Comment #2 from zopsi...@use.startmail.com --- Adding const would mitigate that, but still does not infer scope on f: - struct A { void* p; @safe nothrow pure void f() const; } @safe nothrow pure void g(ref const(A)); @safe void e(

[Issue 24574] Scope not inferred on this parameter

2024-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24574 Dennis changed: What|Removed |Added Keywords||safe CC|

[Issue 24574] New: Scope not inferred on this parameter

2024-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24574 Issue ID: 24574 Summary: Scope not inferred on this parameter Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority:

[Issue 9024] Inferring function argument types from other template parameters

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9024 basile-z changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 10228] Type deduction fails with dependencies between parameter types

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10228 basile-z changed: What|Removed |Added See Also||https://issues.dlang.org/sh |

[Issue 24556] Allow IFTI for dotted template parameters used as function type parameter

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24556 basile-z changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24573] qualified identifiers confuse IFTI

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24573 --- Comment #1 from basile-z --- The error message is > Error: undefined identifier `T` It's probable that IFTI actually works but when the time comes to run the semantics of `m.Tuple!T`, the scope used is wrong. --

[Issue 24573] qualified identifiers confuse IFTI

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24573 basile-z changed: What|Removed |Added Summary|qualified identifiers |qualified identifiers |conduse

[Issue 24573] New: qualified identifiers conduse IFTI

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24573 Issue ID: 24573 Summary: qualified identifiers conduse IFTI Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid Severity:

[Issue 20491] extern(C) is not inferred for lambda arguments

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20491 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --- Comment #2 from Bolpa

[Issue 23666] Recognize template opApply pattern

2024-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23666 --- Comment #3 from Bolpat --- (In reply to Nick Treleaven from comment #2) > You can use `auto opApply` to infer attributes instead of a template. ```d struct S { auto opApply(int delegate(ref int) callback) { int x; return

[Issue 24468] stdThreadLocalLog does not print `log` and `trace` logs

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24468 --- Comment #4 from Forest --- Also, is `(cast()sharedLog).logLevel = LogLevel.all` thread-safe? If so, how is the user supposed to know that? If not, where is the thread-safe equivalent? --

[Issue 24570] printing a range of ranges consumes sub-ranges

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24570 --- Comment #4 from Steven Schveighoffer --- (In reply to Salih Dincer from comment #2) > If you do the following instead of `auto save() => return this;`, the > problem is solved: > > ``` > struct R > { > wchar* ptr; > size_t len; > > thi

[Issue 24468] stdThreadLocalLog does not print `log` and `trace` logs

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24468 Forest changed: What|Removed |Added CC||fores...@nom.one --- Comment #3 from Forest --- Th

[Issue 7205] Function attribute inference fails in case of mutual dependencies

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7205 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --

[Issue 24565] out contract variable is implicitly const

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

[Issue 24572] New: [REG 2.108.0] Faulty template instantiation with lambda expressions

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24572 Issue ID: 24572 Summary: [REG 2.108.0] Faulty template instantiation with lambda expressions Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24571] Grammar spec should not use "opt"

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24571 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @Bolpat

[Issue 24571] Grammar spec should not use "opt"

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24571 Bolpat changed: What|Removed |Added CC||qs.il.paperi...@gmail.com --- Comment #1 from Bolpa

[Issue 24571] New: Grammar spec should not use "opt"

2024-05-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24571 Issue ID: 24571 Summary: Grammar spec should not use "opt" Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1

[Issue 24570] printing a range of ranges consumes sub-ranges

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24570 --- Comment #3 from Salih Dincer --- There's no reason why this issue can't be easily fixed. Because when you include narrow string or wchar, there is no problem of not being able to save(): https://forum.dlang.org/post/qgtrcupsniezqgazk...@forum.dla

[Issue 24570] printing a range of ranges consumes sub-ranges

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24570 Salih Dincer changed: What|Removed |Added CC||sali...@hotmail.com --- Comment #2 from Salih

[Issue 24570] printing a range of ranges consumes sub-ranges

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24570 --- Comment #1 from Steven Schveighoffer --- A further note is that an array of arrays is not consumed when printed -- because formatValue has a specialized case for that. --

[Issue 24570] New: printing a range of ranges consumes sub-ranges

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24570 Issue ID: 24570 Summary: printing a range of ranges consumes sub-ranges Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 24569] operator overloading on pointer to value-type instances

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24569 Dennis changed: What|Removed |Added CC||dkor...@live.nl --- Comment #1 from Dennis --- Poi

[Issue 24549] std.process.environment.get(null) segfaults

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24549 --- Comment #4 from Dlang Bot --- dlang/phobos pull request #9006 "merge stable" was merged into master: - 82e8e32b2ff546a86eb3683b1af4ecc5939f633e by Steven Schveighoffer: Fix bugzilla issue 24549 -- environment.get(null) segfaults on Linux http

[Issue 24546] importC musl setjmp.h failure

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24546 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #16534 "merge stable" was merged into master: - cc66e60109fb99b0983b908ebd70f1a7f9499d76 by Johan Engelen: Fix bugzilla 24546 for musl libc (#16507) https://github.com/dlang/dmd/pull/16534

[Issue 24569] New: operator overloading on pointer to value-type instances

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24569 Issue ID: 24569 Summary: operator overloading on pointer to value-type instances Product: D Version: D2 Hardware: All OS: All Status: NEW Se

[Issue 24562] inout on the copy constructor makes it so that a normal opAssign does not work with multiple layers of objects

2024-05-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24562 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #2 from Razv

[Issue 24560] dmd crash on imported function with default parameter containing `new`

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

[Issue 20243] inout not substituted for in associative array key type

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

[Issue 20243] inout not substituted for in associative array key type

2024-05-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20243 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @zopsicl

[Issue 24568] Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed

2024-05-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24568 a...@jcomp.tk changed: What|Removed |Added Component|druntime|phobos --

[Issue 24568] New: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed

2024-05-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24568 Issue ID: 24568 Summary: Aborting from core/sync/mutex.d(149) Error: pthread_mutex_destroy failed Product: D Version: D2 Hardware: x86_64 OS: Linux St

[Issue 24562] inout on the copy constructor makes it so that a normal opAssign does not work with multiple layers of objects

2024-05-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24562 Jonathan M Davis changed: What|Removed |Added Severity|blocker |major --- Comment #1 from Jonathan M Davi

[Issue 24567] New: In interpolation token strings: "$(expression)" is not treated as interpolation expression

2024-05-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24567 Issue ID: 24567 Summary: In interpolation token strings: "$(expression)" is not treated as interpolation expression Product: D Version: D2 Hardware: x86 OS: Windo

[Issue 24565] out contract variable is implicitly const

2024-05-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24565 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2 from tim

[Issue 24565] out contract variable is implicitly const

2024-05-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24565 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @ntrel c

[Issue 22646] [REG2.099] CT bounds checking ignores short circuit evaluation

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22646 Steven Schveighoffer changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 24566] condition that starts with runtime value and uses compile time array does not short circuit

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24566 Steven Schveighoffer changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 24566] New: condition that starts with runtime value and uses compile time array does not short circuit

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24566 Issue ID: 24566 Summary: condition that starts with runtime value and uses compile time array does not short circuit Product: D Version: D2 Hardware: All OS: All

[Issue 24564] std.file.DirEntry throws Exception instead of FileException

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

[Issue 24565] New: out contract variable is implicitly const

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24565 Issue ID: 24565 Summary: out contract variable is implicitly const Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor Prior

[Issue 24564] std.file.DirEntry throws Exception instead of FileException

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24564 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @ntrel c

[Issue 24564] std.file.DirEntry throws Exception instead of FileException

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24564 johanenge...@weka.io changed: What|Removed |Added Keywords||industry --

[Issue 24564] New: std.file.DirEntry throws Exception instead of FileException

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24564 Issue ID: 24564 Summary: std.file.DirEntry throws Exception instead of FileException Product: D Version: D2 Hardware: All OS: Linux Status: NEW

[Issue 24563] Make the compiler provide a reason for why it has disabled a function

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

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #5 from Dlang Bot --- @RazvanN

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 RazvanN changed: What|Removed |Added Assignee|nob...@puremagic.com|razvan.nitu1...@gmail.com --

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #4 from Razv

[Issue 24563] New: Make the compiler provide a reason for why it has disabled a function

2024-05-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24563 Issue ID: 24563 Summary: Make the compiler provide a reason for why it has disabled a function Product: D Version: D2 Hardware: All OS: All Status: NE

[Issue 24562] New: inout on the copy constructor makes it so that a normal opAssign does not work with multiple layers of objects

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24562 Issue ID: 24562 Summary: inout on the copy constructor makes it so that a normal opAssign does not work with multiple layers of objects Product: D Version: D2

[Issue 24561] New: inout on opAssign allows you to mutate member variables

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24561 Issue ID: 24561 Summary: inout on opAssign allows you to mutate member variables Product: D Version: D2 Hardware: All OS: All Status: NEW Se

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 hst...@qfbox.info changed: What|Removed |Added Severity|critical|regression --- Comment #3 from hst...@qfb

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 --- Comment #2 from hst...@qfbox.info --- Also affects LDC 1.38.0: https://github.com/ldc-developers/ldc/issues/4669 --

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 hst...@qfbox.info changed: What|Removed |Added Keywords||ice, ice-on-valid-code --

[Issue 24560] dmd crash on imported function with default parameter containing `new`

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 --- Comment #1 from hst...@qfbox.info --- This bug has existed at least since 2.108.1, since ldc2 1.38.0, which is based on 2.108.1, shows the same problem (segfault upon compiling the above code). --

[Issue 24560] New: dmd crash on imported function with default parameter containing `new`

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24560 Issue ID: 24560 Summary: dmd crash on imported function with default parameter containing `new` Product: D Version: D2 Hardware: x86_64 OS: Linux Stat

[Issue 24559] Compiler fails to error about using enum type as a value when compiling with -o-

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24559 --- Comment #2 from Luís Ferreira --- Interesting enough, if you run `-verror=spec` with `-o-` it fails (enables display of error gagging on speculative compilations). --

[Issue 24559] Compiler fails to error about using enum type as a value when compiling with -o-

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24559 Luís Ferreira changed: What|Removed |Added CC||cont...@lsferreira.net --- Comment #1 from L

[Issue 24559] New: Compiler fails to error about using enum type as a value when compiling with -o-

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24559 Issue ID: 24559 Summary: Compiler fails to error about using enum type as a value when compiling with -o- Product: D Version: D2 Hardware: All OS: All

[Issue 24127] ImportC - no way to organize files

2024-05-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24127 Andrea Fontana changed: What|Removed |Added CC||trik...@gmail.com --- Comment #4 from Andre

[Issue 24558] C asserts segfault on Glibc

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

[Issue 24558] C asserts segfault on Glibc

2024-05-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24558 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @Connor-

[Issue 24558] New: C asserts segfault on Glibc

2024-05-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24558 Issue ID: 24558 Summary: C asserts segfault on Glibc Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

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

[Issue 24557] File.readln does not properly handle case where last character in terminator is repeated

2024-05-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24557 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@gmail.com Hardwar

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 --- Comment #10 from Ben --- "Since this is used in C code quite often, and therefore ported code (such as dmd's backend)." >From what I can tell, there's only one place in the whole compiler that's affected by this bug, so I don't think this is s

[Issue 24557] New: File.readln does not properly handle case where last character in terminator is repeated

2024-05-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24557 Issue ID: 24557 Summary: File.readln does not properly handle case where last character in terminator is repeated Product: D Version: D2 Hardware: x86_64 OS: Linu

[Issue 24556] New: Allow IFTI for dotted template parameters used as function type parameter

2024-05-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24556 Issue ID: 24556 Summary: Allow IFTI for dotted template parameters used as function type parameter Product: D Version: D2 Hardware: All OS: All Status

[Issue 24546] importC musl setjmp.h failure

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

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 --- Comment #9 from Jonathan M Davis --- (In reply to Richard (Rikki) Andrew Cattermole from comment #7) > But, it is also desirable to skip variable declarations, as long as you > don't touch them you do not violate the spec clause. The spec clause

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 --- Comment #8 from Richard (Rikki) Andrew Cattermole --- I've done some playing around to see if backward goto's have an equivalent issue. It seems dmd is actually smart there, and I couldn't get that to not work. Generates a try/finally: ``` La

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 --- Comment #7 from Richard (Rikki) Andrew Cattermole --- It is a bug in the compiler, I agree on that too. But, it is also desirable to skip variable declarations, as long as you don't touch them you do not violate the spec clause. Since this is

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 Jonathan M Davis changed: What|Removed |Added Severity|enhancement |normal --- Comment #6 from Jonathan M Dav

[Issue 24534] Having a label on a declaration makes it possible to skip it with goto

2024-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24534 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #5 from Dlang Bot --- @benjone

[Issue 24555] New: macOS: Add shared druntime/Phobos (libphobos2.dylib)

2024-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24555 Issue ID: 24555 Summary: macOS: Add shared druntime/Phobos (libphobos2.dylib) Product: D Version: D2 Hardware: All OS: Mac OS X Status: NEW Severity: normal

[Issue 24554] New: Clarrification for bad codegen on postfix operators

2024-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24554 Issue ID: 24554 Summary: Clarrification for bad codegen on postfix operators Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 24546] importC musl setjmp.h failure

2024-05-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24546 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot --- @JohanEn

[Issue 24553] New: all 0 struct initializer with float is still stored in data section

2024-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24553 Issue ID: 24553 Summary: all 0 struct initializer with float is still stored in data section Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 24549] std.process.environment.get(null) segfaults

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

[Issue 6297] cast() does not remove const or immutable on arrays and pointers

2024-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6297 Steven Schveighoffer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 6297] cast() does not remove const or immutable on arrays and pointers

2024-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6297 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment #1 from Nick Trel

[Issue 24552] cast to immutable in @safe not rejected

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

[Issue 21626] foreach create reference to rvalue tuple returned by front

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

[Issue 7361] No documentation for front tuple expansion in foreach over range

2024-05-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7361 Nick Treleaven changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24552] New: cast to immutable in @safe not rejected

2024-05-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24552 Issue ID: 24552 Summary: cast to immutable in @safe not rejected Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Se

[Issue 24551] Missing O_NOFOLLOW enum on macOS

2024-05-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24551 --- Comment #1 from Andrea Fontana --- Probably 0x0100? https://opensource.apple.com/source/xnu/xnu-6153.81.5/bsd/sys/fcntl.h --

[Issue 24551] New: Missing O_NOFOLLOW enum on macOS

2024-05-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24551 Issue ID: 24551 Summary: Missing O_NOFOLLOW enum on macOS Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority

[Issue 23812] ImportC: allow adding function attributes to imported C functions

2024-05-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23812 ponce changed: What|Removed |Added CC||alil...@gmail.com --- Comment #2 from ponce --- I'v

[Issue 24550] New: formattedWrite should support string interpolation

2024-05-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24550 Issue ID: 24550 Summary: formattedWrite should support string interpolation Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 24549] std.process.environment.get(null) segfaults

2024-05-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24549 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @schveig

[Issue 24549] std.process.environment.get(null) segfaults

2024-05-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24549 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@gmail.com --- Comment #1 fr

[Issue 24548] [spec] Boolean condition conversion is not documented

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

[Issue 24548] [spec] Boolean condition conversion is not documented

2024-05-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24548 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @ntrel c

[Issue 24548] New: [spec] Boolean condition conversion is not documented

2024-05-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24548 Issue ID: 24548 Summary: [spec] Boolean condition conversion is not documented Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor

[Issue 23156] Thread should not rethrow Errors

2024-05-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23156 Steven Schveighoffer changed: What|Removed |Added Keywords||safe --

[Issue 24547] Stack overflow in CppMangleVisitor.writeQualified

2024-05-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24547 Tim changed: What|Removed |Added Keywords||C++ --

<    4   5   6   7   8   9   10   11   12   13   >