Minimal test(s) --- deprecated([]) module m; --- deprecated([""]) module m; --- deprecated(['a']) module m; --- deprecated(["a"]) module m; --- All cause a segmentation fault in ArrayLiteralExp::toStringExp().
Should be using semanticString, and delay looking at the module deprecation message until the module-level scope has been created.
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9843286ed0a0ad46b7bce41a265f18b4714601b0 fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault https://github.com/dlang/dmd/commit/1cfb6d9f9fda4831578b8ecd53c97086464782f5 Merge pull request #9300 from ibuclaw/issue19609 fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8ed467413e1507e4d87c5dbfd406e290ab188a6a fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) https://github.com/dlang/dmd/commit/a65c95fb41d9251fead258eaa9973d53141fff59 Merge pull request #9304 from ibuclaw/test19609b fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
dlang/dmd pull request #9427 "[dmd-cxx] fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault" was merged into dmd-cxx: - 0b7b1c49516d11e5d1238be79c579f841da58193 by Iain Buclaw: fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault https://github.com/dlang/dmd/pull/9427
dlang/dmd pull request #9436 "[dmd-cxx] fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2)" was merged into dmd-cxx: - 2868ba75051dc2d5b640fed7e1fb8342eecbd23f by Iain Buclaw: fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) https://github.com/dlang/dmd/pull/9436