dmd/changelog/array-literal-inference.dd
Simen Kjærås 6697c5bab0 Fix issue 20938 - Cannot create const arrays mixing immutable and
mutable structs with indirections
2020-06-21 13:40:55 +02:00

5 lines
No EOL
258 B
Text

Improve type determination for array literals
There were some cases where DMD wasn't able to determine the common type for
array literal elements. Mismatched enums and literals containing only mutable
and immutable elements should now be correctly inferred.