Changed extension in parsing test data (jet -> kt)

This commit is contained in:
Evgeny Gerashchenko
2013-09-17 18:05:44 +04:00
parent 2ee3d22ab9
commit e338cda06d
259 changed files with 519 additions and 400 deletions
@@ -0,0 +1,13 @@
/**
These declarations are "shallow" in the sense that they are not really compiled, only the type-checker uses them
*/
open class ReadOnlyArray<out T> : ISized {
[operator] fun get(index : Int) : T
}
open class WriteOnlyArray<in T> : ISized { // This is needed to keep IIterator's <T> covariant
[operator] fun set(index : Int, value : T)
}
class MutableArray<T> : ReadOnlyArray<T>, WriteOnlyArray<T> {/*...*/}