diff options
Diffstat (limited to 'tests/untried/neg/t2462a.check')
-rw-r--r-- | tests/untried/neg/t2462a.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t2462a.check b/tests/untried/neg/t2462a.check new file mode 100644 index 000000000..86d74b86d --- /dev/null +++ b/tests/untried/neg/t2462a.check @@ -0,0 +1,4 @@ +t2462a.scala:2: error: Cannot construct a collection of type List[String] with elements of type Int based on a collection of type List[Int]. + List(1,2,3).map[Int, List[String]](x => 1) + ^ +one error found |