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 3733 - Overloading on 'this' modifiers fails with implicit 'this' #534

Merged
merged 2 commits into from Oct 7, 2012

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Nov 25, 2011

4392 and 3733 are similar, but are bit different.

  • Issue 4392 - Problems with const/non-const overloads of member functions

    In CallExp::semantic with e1->op == TOKvar, the head of overloads is unintentionally changed.

  • Issue 3733 - Overloading on 'this' modifiers fails with implicit 'this'

    Between shared and non-shared overloading, FuncDeclaration::overloadResolve cannot determine the actual callee if ethis is NULL. In this case we should defer the resolution until after adding 'this'

@andralex
Copy link
Member

Looks good, please merge.

@9rnsr
Copy link
Contributor Author

9rnsr commented Oct 7, 2012

Rebased.

yebblies added a commit that referenced this pull request Oct 7, 2012
Issue 3733 - Overloading on 'this' modifiers fails with implicit 'this'
@yebblies yebblies merged commit 9aea891 into dlang:master Oct 7, 2012
@yebblies
Copy link
Member

yebblies commented Oct 7, 2012

yebblies closed the pull request in a few seconds

Now github can predict the future... worrying.

@andralex
Copy link
Member

andralex commented Oct 7, 2012

hehe... guess there's some clock skew in there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants