July 28, 2012 [dmd-internals] [D-Programming-Language/dmd] 99ea16: fix Issue 8442 - [2.060 beta] Empty array enum not... | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation