Skip to content

Filter mixins correctly from the inheritance chain #1440

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

Merged
merged 1 commit into from
May 30, 2017
Merged

Conversation

jcollins-g
Copy link
Contributor

#1434 revealed that we were treating mixins the same as inherited classes in canonicalEnclosingElement. This change simplifies the code somewhat and is more correct, checking to be sure that the element exists inside the class before declaring it the canonicalEnclosingElement.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label May 24, 2017
@jcollins-g jcollins-g requested a review from keertip May 24, 2017 21:13
Copy link
Collaborator

@keertip keertip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jcollins-g jcollins-g merged commit 52bb306 into master May 30, 2017
@kevmoo kevmoo deleted the mixin-filter branch June 21, 2017 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants