Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 01, 2023 [Issue 24209] static aa initialization of static function variable ICE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24209 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> --- FWIW, gdc emits this error: ``` i24209.d:2:25: error: non-constant expression ‘[1:2]’ 2 | static int[int] aa = [1: 2]; | ^ ``` Which seems to suggest that lowering is not done by the front-end if the static variable is declared inside a function/unittest body. -- |
November 02, 2023 [Issue 24209] static aa initialization of static function variable ICE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24209 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @dkorpel created dlang/dmd pull request #15774 "Fix 24209 - static aa initialization of static function variable ICE" fixing this issue: - Fix 24209 - static aa initialization of static function variable ICE https://github.com/dlang/dmd/pull/15774 -- |
November 02, 2023 [Issue 24209] static aa initialization of static function variable ICE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24209 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #15774 "Fix 24209 - static aa initialization of static function variable ICE" was merged into stable: - 940c57d59b4e4e675de5b4f402ebd86bfc52e08e by Dennis Korpel: Fix 24209 - static aa initialization of static function variable ICE https://github.com/dlang/dmd/pull/15774 -- |
November 20, 2023 [Issue 24209] static aa initialization of static function variable ICE | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24209 --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #15829 "merge stable" was merged into master: - 7e052454e32312723324bcb18ebd6ad8181da2f5 by Dennis: Fix 24209 - static aa initialization of static function variable ICE (#15774) https://github.com/dlang/dmd/pull/15829 -- |
Copyright © 1999-2021 by the D Language Foundation