Skip to content

Commit 60efdfc

Browse files
committed
Add test
1 parent c408f6f commit 60efdfc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/pos/i2637.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
object Hello {
2+
def main(args: Array[String]): Unit = {
3+
sealed trait Wat[T]
4+
5+
implicit def intWat: Wat[Int] = ???
6+
implicit def listWat[T](implicit tWat: Wat[T]): Wat[List[T]] = new Wat{}
7+
8+
def stuff[T](implicit implicitWat: => Wat[List[T]]): Unit = ???
9+
}
10+
}

0 commit comments

Comments
 (0)