aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t7022.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t7022.scala')
-rw-r--r--tests/pending/pos/t7022.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pending/pos/t7022.scala b/tests/pending/pos/t7022.scala
index 0609e2d25..c86602664 100644
--- a/tests/pending/pos/t7022.scala
+++ b/tests/pending/pos/t7022.scala
@@ -1,9 +1,9 @@
class Catch[+T] {
- def either[U >: T](body: => U): Either[Throwable, U] = ???
+ def either[U >: T](body: => U): Either[Throwable, U] = ???
}
object Test {
- implicit class RichCatch[T](val c: Catch[T]) extends AnyVal {
- def validation[U >: T](u: => U): Either[Throwable, U] = c.either(u)
- }
+ implicit class RichCatch[T](val c: Catch[T]) extends AnyVal {
+ def validation[U >: T](u: => U): Either[Throwable, U] = c.either(u)
+ }
}