KT-602: Array<T> method instead of default constructor parameter

This commit is contained in:
Alex Tkachman
2011-11-24 15:34:08 +02:00
parent 9bd98cdf2b
commit fd9eadb729
8 changed files with 54 additions and 12 deletions
@@ -0,0 +1 @@
fun box() = if(Array<Int>(10) is Array<java.lang.Integer>) "OK" else "fail"