Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 7873 - IFTI with inout does not properly match template parameter if called from inout function for pointers #872

Merged
merged 1 commit into from
Apr 10, 2012

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Apr 10, 2012

http://d.puremagic.com/issues/show_bug.cgi?id=7873

Now Type::mutableOf always removes only top qualifier, it was introduced by the commit:
3a4dd88

So, if you want to remove inout qualifiers from whole type structure, you should use substWildTo(MODMutable) instead of mutableOf().

…ameter if called from inout function for pointers

Now Type::mutableOf always removes only top qualifier, it was introduced by the commit:
3a4dd88

So, if you want to remove inout qualifiers from whole type structure, you should use substWildTo(MODMutable) instead of mutableOf().
WalterBright added a commit that referenced this pull request Apr 10, 2012
Issue 7873 - IFTI with inout does not properly match template parameter if called from inout function for pointers
@WalterBright WalterBright merged commit 7c22b8a into dlang:master Apr 10, 2012
braddr pushed a commit to braddr/dmd that referenced this pull request Oct 22, 2012
Added more deprecation messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants