diff options
Diffstat (limited to 'test/files/neg/tcpoly_ticket2101.check')
-rw-r--r-- | test/files/neg/tcpoly_ticket2101.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/tcpoly_ticket2101.check b/test/files/neg/tcpoly_ticket2101.check new file mode 100644 index 0000000000..eac582e8ba --- /dev/null +++ b/test/files/neg/tcpoly_ticket2101.check @@ -0,0 +1,4 @@ +tcpoly_ticket2101.scala:2: error: type arguments [T2,X] do not conform to class T's type parameter bounds [A[Y] <: T[A,B],B] +class T2[X] extends T[T2, X] // ill-typed + ^ +one error found
\ No newline at end of file |