diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-05-03 18:19:46 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2015-05-03 18:19:51 +0200 |
commit | f162eb2d9e7effbad2676e92139fe5676a92d6ad (patch) | |
tree | 78644f03252f7a3c873b2b9076aa30bad228138f /tests | |
parent | bb6582bd265d22186570bef81d2a2f9ab3e23f9d (diff) | |
download | dotty-f162eb2d9e7effbad2676e92139fe5676a92d6ad.tar.gz dotty-f162eb2d9e7effbad2676e92139fe5676a92d6ad.tar.bz2 dotty-f162eb2d9e7effbad2676e92139fe5676a92d6ad.zip |
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 #525 where this was discussed.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/strip-tvars-for-lubbasetypes.scala (renamed from tests/pending/pos/strip-tvars-for-lubbasetypes.scala) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/pos/strip-tvars-for-lubbasetypes.scala b/tests/pos/strip-tvars-for-lubbasetypes.scala index 2be8625ba..128ca767c 100644 --- a/tests/pending/pos/strip-tvars-for-lubbasetypes.scala +++ b/tests/pos/strip-tvars-for-lubbasetypes.scala @@ -1,8 +1,8 @@ object Test { implicit final class EqualOps[T](val x: T) extends AnyVal { - def ===[T1, Ph >: T <: T1, Ph2 >: Ph <: T1](other: T1): Boolean = x == other - def !!![T1, Ph2 >: Ph <: T1, Ph >: T <: T1](other: T1): Boolean = x == other + def ===[T1 >: T, Ph >: T <: T1, Ph2 >: Ph <: T1](other: T1): Boolean = x == other + def !!![T1 >: T, Ph2 >: Ph <: T1, Ph >: T <: T1](other: T1): Boolean = x == other } class A |