Skip to content

Commit 96cca21

Browse files
committed
Test case scala#4742
1 parent c70d59b commit 96cca21

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i4742.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import scala.reflect.ClassTag
2+
3+
class Test {
4+
def foo[T <: String: ClassTag](f: T => Int) = 1
5+
def bar(f: String => Int) = foo(f)
6+
}

0 commit comments

Comments
 (0)