Skip to content

Remove Reflect.Context from methods that do not require it #9807

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

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Sep 16, 2020

The Context only tracks the current owner. Most methods do not care implicitly about the current owner and can use the rootContext directly.

@nicolasstucki nicolasstucki self-assigned this Sep 16, 2020
@nicolasstucki nicolasstucki marked this pull request as ready for review September 16, 2020 15:01
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

@nicolasstucki nicolasstucki force-pushed the remove-reflect-context-where-it-is-not-needed branch from 4052a1f to 5986625 Compare September 16, 2020 16:23
The Context only tracks the current owner. Most methods do not care
implicilty about the current owner and can use the rootContext directly.
@nicolasstucki nicolasstucki force-pushed the remove-reflect-context-where-it-is-not-needed branch from 5986625 to 301b9ba Compare September 16, 2020 16:24
@nicolasstucki nicolasstucki merged commit a05fc4b into scala:master Sep 16, 2020
@nicolasstucki nicolasstucki deleted the remove-reflect-context-where-it-is-not-needed branch September 16, 2020 17:17
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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