Implement hack to support both remove() and removeAt() in MutableList<Int>

Also add couple of tests about CharSequence.get
This commit is contained in:
Denis Zharkov
2015-10-10 20:49:18 +03:00
parent 742a538aed
commit 89ded4ab1d
10 changed files with 320 additions and 1 deletions
@@ -0,0 +1,7 @@
abstract class A1 : CharSequence {}
abstract class A2 : CharSequence {
override fun get(index: Int) = 'z';
}
// 2 public final bridge charAt