[Issue 13294] [IFTI] IFTI fails or works incorrectly for function with const and mutable `ref` parameters of most types

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 25 13:45:44 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13294

--- Comment #10 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/64df8d8fc573f3109af20bc7822b21e3b5c023bf
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.

https://github.com/D-Programming-Language/dmd/commit/a7786fadb495a19364da4aa564e6cccf37224750
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

--


More information about the Digitalmars-d-bugs mailing list