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

Revert "fix: workaround for es2015 inheritance not always working (#1… #13868

Merged
merged 1 commit into from
Oct 30, 2018

Conversation

jelbourn
Copy link
Member

…3834)"

This reverts commit a22a9fa.

This change caused a new issue where Closure Compiler was not able to do
dead-code elimination due to the function call with unknown side
effects.

…gular#13834)"

This reverts commit a22a9fa.

This change caused a new issue where Closure Compiler was not able to do
dead-code elimination due to the function call with unknown side
effects.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 30, 2018
@jelbourn jelbourn added the target: patch This PR is targeted for the next patch release label Oct 30, 2018
@devversion
Copy link
Member

devversion commented Oct 30, 2018

@jelbourn Hmm going forward with this, I'm not sure if it's even worth keeping the workaround at all.

The way it will be after the revert (without my new changes), it's practically not helping and just causes even more exceptions than before (in case the ctorParameters is not a function; which is often the case).

We definitely need to solve the Closure issue, and I can't think of a way to mark the function for inheriting as side effect free (google/closure-compiler#2256). That being said, we should probably remove the workaround completely and wait for Ivy. It's not an issue from Material, rather from Angular.

@devversion
Copy link
Member

devversion commented Oct 30, 2018

Also considering that angular/angular#24014 is finally merge ready as well, it might be just the best to get rid of the workaround completely. I can update this PR if you don't find time for it.

@josephperrott josephperrott removed their request for review October 30, 2018 17:42
@jelbourn
Copy link
Member Author

We need to revert it first to unblock syncing into Google and then we can explore other approaches

@andrewseguin andrewseguin added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Oct 30, 2018
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

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

Sounds good. Should we chat on Slack about the final solution? I'd vote for removing.

@jelbourn jelbourn merged commit f2c7205 into angular:master Oct 30, 2018
@jelbourn
Copy link
Member Author

@devversion yeah, let's discuss it in more detail

atscott pushed a commit to atscott/components that referenced this pull request Nov 5, 2018
…gular#13834)" (angular#13868)

This reverts commit a22a9fa.

This change caused a new issue where Closure Compiler was not able to do
dead-code elimination due to the function call with unknown side
effects.
jelbourn added a commit that referenced this pull request Nov 6, 2018
…3834)" (#13868)

This reverts commit a22a9fa.

This change caused a new issue where Closure Compiler was not able to do
dead-code elimination due to the function call with unknown side
effects.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants