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

reviving: Prefer static constant fields on constant object's class #578

Merged
merged 2 commits into from
Dec 16, 2021

Conversation

srawlins
Copy link
Member

@srawlins srawlins commented Dec 9, 2021

Fixes #577

This should also be a faster heuristic; when looking for an object of type Foo, check Foo's static fields first. This was already done for enums; I see no reason to do it for all classes.

@srawlins
Copy link
Member Author

CC @natebosch if you have time to review this week.

@kevmoo
Copy link
Member

kevmoo commented Dec 16, 2021

What's the plan here? @natebosch ?

@kevmoo
Copy link
Member

kevmoo commented Dec 16, 2021

Should we have a changelog entry here, @srawlins ?

@kevmoo
Copy link
Member

kevmoo commented Dec 16, 2021

Ha! @natebosch reads my mind

@srawlins
Copy link
Member Author

Thanks!

@srawlins srawlins merged commit 3a17798 into master Dec 16, 2021
@srawlins srawlins deleted the fix-processstartmode branch December 16, 2021 23:11
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.

Cannot revive ProcessStartMode.normal
3 participants