Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scala/scala3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ebe3785365f1a73a13f67466e2568c39782f1e1a
Choose a base ref
..
head repository: scala/scala3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 40c083dad6360a80d3b1c151d255a271128deda3
Choose a head ref
Showing with 6 additions and 0 deletions.
  1. +3 −0 tests/rewrites/i21418.check
  2. +3 −0 tests/rewrites/i21418.scala
3 changes: 3 additions & 0 deletions tests/rewrites/i21418.check
Original file line number Diff line number Diff line change
@@ -8,11 +8,14 @@ def foo[F[_]: Effect]() =

@main def Test = {
val a = new Countdown[Option](using ???)
Countdown[Option](using ???)
val b = Countdown[Option](using ???)
new Countdown[Option](using ???)
val c = Countdown[List](using ???)
new Countdown2[List, Option](using ???, ???)
new Countdown2[List, Option] (using ???, ???)
Countdown2[List, Option](using ???, ???)
Countdown2[List, Option] (using ???, ???)
new Countdown1[Option](10)(using ???)
new Array[Int](10)
new scala.collection.immutable.HashSet[Int]
3 changes: 3 additions & 0 deletions tests/rewrites/i21418.scala
Original file line number Diff line number Diff line change
@@ -8,11 +8,14 @@ def foo[F[_]: Effect]() =

@main def Test = {
val a = new Countdown[Option]()(???)
Countdown[Option]()(???)
val b = Countdown[Option]()(???)
new Countdown[Option] ()(???)
val c = Countdown[List] () (???)
new Countdown2[List, Option] () (???, ???)
new Countdown2[List, Option] (using ???, ???)
Countdown2[List, Option] () (???, ???)
Countdown2[List, Option] (using ???, ???)
new Countdown1[Option](10)(???)
new Array[Int](10)
new scala.collection.immutable.HashSet[Int]