Skip to content

Fix using of wrong period for creating nested ctx in TreeTransforms #142

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

Merged
merged 4 commits into from
Jul 17, 2014

Conversation

DarkDimius
Copy link
Contributor

owner for nestedContext in TreeTransforms was assigned
using initial period of whole TreeTransforms block.
That is incorrect as denotation for this owner could have been
create by some phase in this block and be non-existent at the initial period.

There is no need to recurse in tree if there are no transformations left.
No need to perform zero transformations.
`owner` for nestedContext in `TreeTransforms` was assigned
using initial period of whole `TreeTransforms` block.
That is incorrect as denotation for this owner could have been
create by some phase in this block.
DarkDimius referenced this pull request in dotty-staging/dotty Jul 16, 2014
because it violates a phase assumption of the micro phase framework.
See class comment for details.
@DarkDimius
Copy link
Contributor Author

@odersky please review. ba4ba5e should fix error that you had with periods in varargs

@odersky
Copy link
Contributor

odersky commented Jul 17, 2014

LGTM

odersky added a commit that referenced this pull request Jul 17, 2014
Fix using of wrong period for creating nested ctx in TreeTransforms
@odersky odersky merged commit bdbed39 into scala:master Jul 17, 2014
WojciechMazur pushed a commit to WojciechMazur/dotty that referenced this pull request Mar 19, 2025
Backport: Avoid using ExplainingTypeComparer in regular code
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.

2 participants