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
Correct bounds for higher-kinded GADT skolems #9417
Conversation
This comment has been minimized.
This comment has been minimized.
Is there a way to try this out before the binary release |
It's described here: https://github.com/scala/scala#scala-ci
|
c2c42ec
to
51c04ee
Compare
@diesalbla agree that sounds like a good testbed – let us know if you're able to try it |
@joroKr21 so, knowing next to nothing about these parts of the compiler, how come in one case you genPolyType and then apply it and in the other case just genPolyType? |
@diesalbla, just by looking at source code of fs2 I'm not able to find the workarounds you mentioned. @SethTisue awesome, thank you 🙏
Actually if the branch with the reproduction is still there, I can check that too.
@dwijnand good question, I want to try something and get back to you |
Mostly on the I refer to having to use extra variables for the types and a few Will try to report on specific errors (or minimise that code), but don't let that delay you from merging this one 🙂 |
@dwijnand to build some intuition about how types work I like to fiddle with the console in class Foo[F[x] <: Seq[x]]
val f = symbolOf[Foo[List]].typeParams.head Here are some interesting things you can try:
Things to note:
Sorry if that is too long, it helped me to do this systematically. |
case in point: scala/scala3#9566 |
Not at all - it was very helpful, thank you. |
Seth aborted that (I assume b/c of the disk space issues) and rescheduled it as https://scala-ci.typesafe.com/job/scala-2.13.x-jdk11-integrate-community-build/2346/ (and it's still not finished, 5 hours in). But that's using the previous SHA, we need a run for the cd13abc: https://scala-ci.typesafe.com/job/scala-2.13.x-jdk11-integrate-community-build/2348/ (404 link until the build starts). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from my point of view, hopefully the community build comes back clean.
Let's go ahead to the next phase. If something fails we can revert later on. |
I would have preferred to wait for the confirmation first, that's what I implied. I wish GitHub's review had a task completion system... Perhaps I should approve less readily to avoid miscommunicating. |
The failures in 2346 are known-intermittent, so it's a "green enough" run. 2348 is still running. |
I checked that and it works btw 🎉 |
Fixes scala/bug#12295
@xuwei-k can you check if this fixes scala/bug#11692?