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

[BUGFIX beta] Restores the shadowed property set behavior #19232

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

pzuraq
Copy link
Contributor

@pzuraq pzuraq commented Oct 26, 2020

Restores the previous behavior that would happen when setting a shadowed
property.

Based on #19231 it appears that our previous fix isn't enough, and the implications
of the change were wider spread than we initially believed. So, this restores the
previous behavior. The plan is to add a lint rule to prevent unintentional shadowing
from causing issues, e.g. model: Foo; should instead be declare model: Foo;.

Restores the previous behavior that would happen when setting a shadowed
property.
@pzuraq pzuraq changed the title [BUGFIX lts] Restores the shadowed property set behavior [BUGFIX beta] Restores the shadowed property set behavior Oct 26, 2020
@andreyfel
Copy link
Contributor

@rwjblue @pzuraq Hey guys! What is the plan here? Will it be merged? Will it be backported to 3.21.x?

@pzuraq
Copy link
Contributor Author

pzuraq commented Oct 28, 2020

@andreyfel it will not be backported to 3.21, per our support policy 3.21 is no longer supported. It is fixed on 3.22, and will be fixed on 3.23+ via this PR.

@pzuraq pzuraq merged commit 8635659 into master Oct 28, 2020
@pzuraq pzuraq deleted the bugfix/restore-previous-set-behavior branch October 28, 2020 16:35
@andreyfel
Copy link
Contributor

andreyfel commented Oct 29, 2020

@pzuraq I think it is not fixed on 3.22. Or do you mean it is fixed but not released yet?

@rwjblue
Copy link
Member

rwjblue commented Oct 29, 2020

Right. We still need to release. It's been on my plate for a few days but I've been super swamped at work. Will try to get it done this weekend.

@andreyfel
Copy link
Contributor

Sure, no problem! Thanks @rwjblue!

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.

3 participants