Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 19, 2021 [Issue 5479] Can't take address of struct literal inside array initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5479 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |FIXED --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- This compiles successfully in D2. -- |
March 19, 2021 [Issue 5479] Can't take address of struct literal inside array initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5479 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ag0aep6g@gmail.com Resolution|FIXED |--- --- Comment #2 from ag0aep6g <ag0aep6g@gmail.com> --- (In reply to RazvanN from comment #1) > This compiles successfully in D2. Uh, no it doesn't? DMD v2.096.0 prints: "Error: cannot use non-constant CTFE pointer in an initializer `&[Identifier("someid")][0]`". Reopening. -- |
August 15, 2022 [Issue 5479] Can't take address of struct literal inside array initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5479 --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- (In reply to ag0aep6g from comment #2) > (In reply to RazvanN from comment #1) > > This compiles successfully in D2. > > Uh, no it doesn't? DMD v2.096.0 prints: "Error: cannot use non-constant CTFE pointer in an initializer `&[Identifier("someid")][0]`". Reopening. Argh, I omitted the last line of the bug report when copy pasting... -- |
December 17, 2022 [Issue 5479] Can't take address of struct literal inside array initializer | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=5479 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation