Skip to content

Commit 0e2aff6

Browse files
smarterbishabosha
authored andcommitted
Add back implicit signatures to hk-infer.scala test
1 parent 145132a commit 0e2aff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pos-scala2/hk-infer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object ShouldWorkHK {
2020
def underlying = xs
2121
def BOOP(ys: Seq[M[_]]) = new Booper(xs ++ ys)
2222
}
23-
implicit def mkBoop[M[_]](xs: Seq[M[_]]) = new Booper(xs)
23+
implicit def mkBoop[M[_]](xs: Seq[M[_]]): ShouldWorkHK.Booper[M] = new Booper(xs)
2424

2525
def f1 = x BOOP y BOOP x1 BOOP x2
2626
}
@@ -30,7 +30,7 @@ object DoesWorkHK {
3030
def underlying = xs
3131
def BOOP(ys: Seq[M[_]]) = new Booper[M](xs ++ ys)
3232
}
33-
implicit def mkBoop[M[_]](xs: Seq[M[_]]) = new Booper[M](xs)
33+
implicit def mkBoop[M[_]](xs: Seq[M[_]]): DoesWorkHK.Booper[M] = new Booper[M](xs)
3434

3535
def f1 = x BOOP y BOOP x1 BOOP x2
3636
}

0 commit comments

Comments
 (0)