use kotlin Iterable/Iterator

instead of java Iterable/Iterator
in Kotlin code in library
This commit is contained in:
Svetlana Isakova
2012-08-14 15:24:13 +04:00
parent df93a26839
commit ca6d7e643e
19 changed files with 88 additions and 104 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ class CollectionJVMTest {
test fun sortFunctionShouldReturnSortedCopyForIterable() {
// TODO fixme Some sort of in/out variance thing - or an issue with Java interop?
todo {
// val list : java.lang.Iterable<Int> = arrayList(2, 3, 1)
// val list : Iterable<Int> = arrayList(2, 3, 1)
// expect(arrayList(1, 2, 3)) { list.sort() }
// expect(arrayList(2, 3, 1)) { list }
}