[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5c11b2969441e2a05596e267fdfd944df21cd615 Fix Issue 18645 - DMD segmentation fault (Enum Initialization) https://github.com/dlang/dmd/commit/faa6f89bfb190b78619688897ccd49bc9750cd44 Merge pull request #8072 from JinShil/fix_18645 Fix Issue 18645 - DMD segmentation fault (Enum Initialization) --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 greenifychanged: What|Removed |Added Status|NEW |RESOLVED CC||greeen...@gmail.com Resolution|--- |FIXED --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 Walter Brightchanged: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #5 from Walter Bright --- Fixed by https://github.com/dlang/dmd/pull/8072 --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 Mike Franklinchanged: What|Removed |Added Keywords||pull CC||slavo5...@yahoo.com --- Comment #4 from Mike Franklin --- Attempted fix: https://github.com/dlang/dmd/pull/8072 --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 --- Comment #3 from Mihails Strasuns--- Regression introduced by this commit: commit 334f853e8371fdab46875bf3316ba78a7c237578 Author: JinShil Date: Tue Nov 21 22:36:35 2017 +0900 Fix Issue 12385 - Enum member should not be modifiable when the member is immutable --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 Mihails Strasunschanged: What|Removed |Added Severity|major |regression --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 --- Comment #2 from Mihails Strasuns--- Even more reduced case: ``` immutable INIT = 42; enum A { x = INIT, y } ``` --
[Issue 18645] DMD segmentation fault
https://issues.dlang.org/show_bug.cgi?id=18645 --- Comment #1 from Mihails Strasuns--- This crashes 2.079 and 2.078, but compiles on 2.071 (haven't checked versions in between yet): ``` enum A { x = global, y } static global = INIT; immutable INIT = 42; ``` --