Skip to content

Commit f162eb2

Browse files
committed
Enable test strip-tvars-for-lubbasetypes.scala
The test had to be slightly modified because of dotty's stricter checking of type bounds validity, see scala#525 where this was discussed.
1 parent bb6582b commit f162eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pending/pos/strip-tvars-for-lubbasetypes.scala renamed to tests/pos/strip-tvars-for-lubbasetypes.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
object Test {
22

33
implicit final class EqualOps[T](val x: T) extends AnyVal {
4-
def ===[T1, Ph >: T <: T1, Ph2 >: Ph <: T1](other: T1): Boolean = x == other
5-
def !!![T1, Ph2 >: Ph <: T1, Ph >: T <: T1](other: T1): Boolean = x == other
4+
def ===[T1 >: T, Ph >: T <: T1, Ph2 >: Ph <: T1](other: T1): Boolean = x == other
5+
def !!![T1 >: T, Ph2 >: Ph <: T1, Ph >: T <: T1](other: T1): Boolean = x == other
66
}
77

88
class A

0 commit comments

Comments
 (0)