August 25, 2014 [dmd-internals] [D-Programming-Language/dmd] 64df8d: fix Issue 13294 - [IFTI] IFTI fails or works incor... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 64df8d8fc573f3109af20bc7822b21e3b5c023bf https://github.com/D-Programming-Language/dmd/commit/64df8d8fc573f3109af20bc7822b21e3b5c023bf Author: k-hara <k.hara.pg@gmail.com> Date: 2014-08-26 (Tue, 26 Aug 2014) Changed paths: M src/template.c M test/runnable/template9.d Log Message: ----------- fix Issue 13294 - [IFTI] IFTI fails or works incorrectly for function with const and mutable `ref` parameters of most types This is more better implementation of enhancement 12290. The first implementation #3353 was incomplete, so sadly it had introduced many IFTI regressions - 12403, 13026, 13180, 13223, and 13294. Eventually I noticed that using typeMerge was wrong. It was the biggest root the regressions. And, the enhancement 13127 was pointless change. Now it is mostly reverted. Commit: a7786fadb495a19364da4aa564e6cccf37224750 https://github.com/D-Programming-Language/dmd/commit/a7786fadb495a19364da4aa564e6cccf37224750 Author: Walter Bright <walter@walterbright.com> Date: 2014-08-25 (Mon, 25 Aug 2014) Changed paths: M src/template.c M test/runnable/template9.d Log Message: ----------- Merge pull request #3896 from 9rnsr/fix13294 [REG2.066] Issue 13294 - [IFTI] IFTI fails or works incorrectly for function with const and mutable `ref` parameters of most types Compare: https://github.com/D-Programming-Language/dmd/compare/2f1d27c5a9a8...a7786fadb495 |
Copyright © 1999-2021 by the D Language Foundation