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

Thread context through block in transforms correctly and efficiently #14523

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 20, 2022

Fixes #14319

@odersky odersky requested a review from noti0na1 February 20, 2022 14:51
@odersky
Copy link
Contributor Author

odersky commented Feb 20, 2022

test performance please

@dottybot
Copy link
Member

performance test scheduled: 1 job(s) in queue, 0 running.

@dottybot
Copy link
Member

Performance test finished successfully:

Visit https://dotty-bench.epfl.ch/14523/ to see the changes.

Benchmarks is based on merging with main (4f3d767)

The previous check did not consider the case where the self constructor
was itself a block that originated from named and default parameters in
the actual self constructor call. That gave a false negative for some code
in akka. The negative was not discovered before since we did not propagate
the correct context information into the expression of a block.
Copy link
Member

@noti0na1 noti0na1 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

extractAPI fails with unsafeNulls and Yexplicit-nulls
5 participants