diff options
Diffstat (limited to 'test/files/neg/tcpoly_bounds.check')
-rw-r--r-- | test/files/neg/tcpoly_bounds.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/tcpoly_bounds.check b/test/files/neg/tcpoly_bounds.check new file mode 100644 index 0000000000..03e22f9fbc --- /dev/null +++ b/test/files/neg/tcpoly_bounds.check @@ -0,0 +1,4 @@ +tcpoly_bounds.scala:3: error: type arguments [scala.List] do not conform to class A's type parameter bounds [m<: [x]>: scala.Nothing <: scala.Option[x]] +object b extends A[List] + ^ +one error found |