Skip to content

Fix #938 #957

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 5 commits into from
Nov 17, 2015
Merged

Fix #938 #957

merged 5 commits into from
Nov 17, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 16, 2015

Review by @smarter. And, maybe take it over if there are still things to do.

@@ -488,6 +488,9 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
case _ => tp2 isRef ObjectClass
}
compareJavaArray
case tp1: ExprType if ctx.phase.id >= ctx.gettersPhase.id =>
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good catch.

@smarter
Copy link
Member

smarter commented Nov 16, 2015

LGTM.

@smarter
Copy link
Member

smarter commented Nov 16, 2015

/rebuild

1 similar comment
@smarter
Copy link
Member

smarter commented Nov 16, 2015

/rebuild

Need to avoid also symbols in ThisTypes
-Ycheck:era checked after phase resolveSuper. This was due to an overly simplistic containsPhase
check.
Getters transform `T` to `=> T`. This means that `=> T <: T`
might need to be true after getters. Observed in the wild
tree checking t938.scala after getters.
@odersky
Copy link
Contributor Author

odersky commented Nov 17, 2015

Rebased to master

odersky added a commit that referenced this pull request Nov 17, 2015
@odersky odersky merged commit da97bfb into scala:master Nov 17, 2015
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
@allanrenucci allanrenucci deleted the fix-#938 branch December 14, 2017 19:19
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