thread ring benchmark and related bug fixes (non null array creation and wrong signature of enclosing class)

This commit is contained in:
Alex Tkachman
2011-12-07 11:51:50 +02:00
parent bf54dc5453
commit d272979b09
11 changed files with 284 additions and 38 deletions
@@ -0,0 +1,8 @@
class A() {
class B(val i: Int) {
}
fun test() = Array<B> (10, { B(it) })
}
fun box() = if(A().test()[5].i == 5) "OK" else "fail"