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

Fix bug 7424 and bug 7425. #698

Merged
merged 1 commit into from
Feb 6, 2012
Merged

Fix bug 7424 and bug 7425. #698

merged 1 commit into from
Feb 6, 2012

Conversation

kennytm
Copy link
Contributor

@kennytm kennytm commented Feb 5, 2012

The commit contains two changes:

  1. It is now allowed to call an inout method from a method with any
    const qualifiers, which also allows an inout method template be
    matched from other non-inout methods, thus fixing bug 7425;
  2. When resolveProperty failed to compute the type of an expression, the
    type is now set as TypeError instead of leaving as NULL, thus fixing
    bug 7424.

The commit contains two changes:

1. It is now *allowed* to call an `inout` method from a method with any
   const qualifiers, which also allows an `inout` method template be
   matched from other non-`inout` methods, thus fixing bug 7425;
2. When resolveProperty failed to compute the type of an expression, the
   type is now set as TypeError instead of leaving as NULL, thus fixing
   bug 7424.
@WalterBright WalterBright merged commit e33cb45 into dlang:master Feb 6, 2012
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