Skip to content

Commit

Permalink
Test redundant parens with infix type in given
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Dec 20, 2024
1 parent f1a01b0 commit f113a30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1787,3 +1787,9 @@ object a {
)
}
}
<<< #4645
runner.dialect = scala3
===
given fooBar: (Foo & Bar) = new Foo with Bar {}
>>>
given fooBar: Foo & Bar = new Foo with Bar {}
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class FormatTests extends FunSuite with CanRunTests with FormatAssertions {
val explored = Debug.explored.get()
logger.debug(s"Total explored: $explored")
if (!onlyUnit && !onlyManual)
assertEquals(explored, 1208516, "total explored")
assertEquals(explored, 1208548, "total explored")
val results = debugResults.result()
// TODO(olafur) don't block printing out test results.
// I don't want to deal with scalaz's Tasks :'(
Expand Down

0 comments on commit f113a30

Please sign in to comment.