https://issues.dlang.org/show_bug.cgi?id=24602
--- Comment #1 from sahan.h.ferna...@gmail.com --- Looking into this a bit more (running against all versions), it appears that it used to fail to compile with a proper error message, but now fails with an internal compiler error message. I assume this would be considered a regression then, since the ICE message only occurs from 2.106.1 onwards. ``` Up to 2.074.1: Failure with output: onlineapp.d(8): Error: non-constant expression ["a":true, "b":true] 2.075.1 to 2.100.2: Failure with output: onlineapp.d(8): Error: non-constant expression `["a":true, "b":true]` 2.101.2 to 2.105.3: Failure with output: ----- onlineapp.d(8): Error: static initializations of associative arrays is not allowed. onlineapp.d(8): associative arrays must be initialized at runtime: https://dlang.org/spec/hash-map.html#runtime_initialization ----- Since 2.106.1: Status -4 with output: onlineapp.d(8): Error: internal compiler error: failed to detect static initialization of associative array ``` --