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

Turn some calls to underlying into superType. #15455

Merged
merged 7 commits into from
Jun 20, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 15, 2022

Based on #15453

@@ -5,20 +5,20 @@ scala> object Foo2 { type T[+A] = [B] =>> (A, B) }
scala> object Foo3 { type T[+A] = [B] =>> [C] =>> (A, B) }
// defined object Foo3
scala> ((1, 2): Foo1.T[Int]): Foo1.T[Any]
val res0: (Any, Int) = (1,2)
val res0: Foo1.T[Any] = (1,2)
Copy link
Member

Choose a reason for hiding this comment

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

That's nice

@nicolasstucki
Copy link
Contributor

To fix the MiMa tests, we should be able to re-run the tests after #15457 is merged (no-rebase needed).

@odersky
Copy link
Contributor Author

odersky commented Jun 19, 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/15455/ to see the changes.

Benchmarks is based on merging with main (f58c158)

@odersky odersky marked this pull request as ready for review June 19, 2022 21:25
@odersky odersky requested a review from mbovel June 19, 2022 21:25
@odersky
Copy link
Contributor Author

odersky commented Jun 19, 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/15455/ to see the changes.

Benchmarks is based on merging with main (4cb967f)

@mbovel mbovel assigned odersky and unassigned mbovel Jun 20, 2022
@odersky odersky merged commit 80a2630 into scala:main Jun 20, 2022
@odersky odersky deleted the fix-underlying branch June 20, 2022 11:35
@Kordyjan Kordyjan added this to the 3.2.1 milestone Aug 1, 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.

6 participants