Skip to content

Commit e15b83a

Browse files
committed
chore: Adjust test output
1 parent 3ec2223 commit e15b83a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/warn/i21218.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ def Test[U, A](thisElem: A, thatElem: U) = {
66
case (`passedEnd`, r: U @unchecked) => (thisElem, r)
77
case (l: A @unchecked, `passedEnd`) => (l, thatElem)
88
case t: (A, U) @unchecked => t // false-positive warning
9+
case (t1, t2) => (t1, t2)
910
}
1011
}

tests/warn/i21525.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def f(a: A, b: a.B): Boolean = {
2222

2323
trait T:
2424
type X
25-
given Typeable[X] = deferred
25+
given tpe: Typeable[X]
2626

2727
def g(t: T, x: Any) =
2828
import t.X

0 commit comments

Comments
 (0)