Skip to content
This repository was archived by the owner on Oct 24, 2021. It is now read-only.

Mixin functions now include all mixins applied transitively #91

Merged
merged 2 commits into from
Feb 13, 2018

Conversation

aomarks
Copy link
Member

@aomarks aomarks commented Feb 13, 2018

Previously, only the immediately applied mixins were accounted for, but not ones that were applied transitively.

Fixes Polymer/polymer#5087

  • CHANGELOG.md has been updated

…vely.

Previously, only the immediately applied mixins were accounted for, but
not ones that were applied transitively.

Fixes Polymer/polymer#5087
@aomarks aomarks requested a review from rictic February 13, 2018 02:08
src/gen-ts.ts Outdated
@@ -447,6 +455,34 @@ function handleMixin(feature: analyzer.ElementMixin, root: ts.Document) {
);
};

/**
* Mixins can automatically apply other mixins, indicated by the @appliesMixin
* annotation. However, since mixins may be applied transitively, to know the
Copy link

Choose a reason for hiding this comment

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

since mixins may be applied transitively -> since mixins may be composed of other mixins

Copy link
Member Author

Choose a reason for hiding this comment

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

Done (similar).

@aomarks aomarks merged commit c639b60 into master Feb 13, 2018
@aomarks aomarks deleted the transitive-mixins branch February 13, 2018 04:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants