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