[dmd-internals] [D-Programming-Language/dmd] 99ea16: fix Issue 8442 - [2.060 beta] Empty array enum not...
GitHub
noreply at github.com
Sat Jul 28 02:24:30 PDT 2012
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 99ea168b02260bbb067a5ac7783df32dfe6fad66
https://github.com/D-Programming-Language/dmd/commit/99ea168b02260bbb067a5ac7783df32dfe6fad66
Author: k-hara <k.hara.pg at gmail.com>
Date: 2012-07-28 (Sat, 28 Jul 2012)
Changed paths:
M src/cast.c
M test/runnable/xtest46.d
Log Message:
-----------
fix Issue 8442 - [2.060 beta] Empty array enum not treated as immutable
This is a regression of fixing issue 2006.
If empty array literal has the type T[] and T isn't void, should check proper element type convertible (T[] to U --> T to U).
Commit: c607144504055bb16eb366e90e2af9e34e8bdac9
https://github.com/D-Programming-Language/dmd/commit/c607144504055bb16eb366e90e2af9e34e8bdac9
Author: Walter Bright <walter at walterbright.com>
Date: 2012-07-28 (Sat, 28 Jul 2012)
Changed paths:
M src/cast.c
M test/runnable/xtest46.d
Log Message:
-----------
Merge pull request #1065 from 9rnsr/fix8442
Issue 8442 - [2.060 beta] Empty array enum not treated as immutable
Compare: https://github.com/D-Programming-Language/dmd/compare/798a018b95cb...c60714450405
More information about the dmd-internals
mailing list