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

Update closure annotation to support arrays for Polymer.prototype.push #4776

Merged
merged 1 commit into from
Aug 7, 2017
Merged

Update closure annotation to support arrays for Polymer.prototype.push #4776

merged 1 commit into from
Aug 7, 2017

Conversation

beckysiegel
Copy link
Contributor

@beckysiegel beckysiegel commented Aug 7, 2017

Update closure annotation to support arrays for Polymer.prototype.push

Polymer.Prototype.push accepts a path as an argument that is then called by Polymer.Path.get.

* @param {string | !Array<string|number>} path Path to read

Polymer.Path.Get accepts a string or an Array for Path, so Polymer.Prototype.push should too. It works already, but the closure compilation fails.

@beckysiegel beckysiegel changed the title Patch 3 Update closure annotation to support arrays for Polymer.prototype.push Aug 7, 2017
@dfreedm dfreedm self-requested a review August 7, 2017 16:07
@dfreedm dfreedm self-assigned this Aug 7, 2017
Copy link
Member

@dfreedm dfreedm left a comment

Choose a reason for hiding this comment

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

LGTM. Tests are failing on something unrelated.

@dfreedm dfreedm merged commit b9c3688 into Polymer:master Aug 7, 2017
dfreedm added a commit that referenced this pull request Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants