We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b5544d + 2d9f6f7 commit e1d2d56Copy full SHA for e1d2d56
tests/pos/i2112.scala
@@ -0,0 +1,7 @@
1
+import scala.collection.JavaConverters._
2
+
3
+object Test {
4
+ def test(x: Any): Unit = {
5
+ x.asInstanceOf[java.util.List[_]].asScala.toList
6
+ }
7
+}
0 commit comments