Skip to content

Commit 8b8baba

Browse files
Merge pull request #2983 from dotty-staging/fix-2250
Fix #2250: add green test
2 parents 4ef7950 + ebe9daf commit 8b8baba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/pos/i2250.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class T {
2+
def foo(any: AnyRef): Unit = {
3+
any.asInstanceOf[Array[_]].iterator
4+
}
5+
}

0 commit comments

Comments
 (0)