forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky rewrites tests (scala#18165)
Fixes scala#18164 As Vulpix runs tests in parallel, sometimes cleanup wasn't finished before another compilation started leading to throwing exception https://github.com/lampepfl/dotty/actions/runs/5482337258/jobs/9987578194#step:4:2966 This was probably the cause
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import scala.{collection => coll, runtime=>_, _} | ||
import coll._ | ||
|
||
def f(xs: Int*) = xs.sum | ||
def test = | ||
f(List(1, 2, 3): _*) | ||
|
||
def g = { implicit x: Int => | ||
x + 1 | ||
} |