Create From Usage: Fix type substitution for no-receiver calls

This commit is contained in:
Alexey Sedunov
2014-10-24 13:47:28 +04:00
parent abbbd198fd
commit cede5ac58b
5 changed files with 7 additions and 5 deletions
@@ -5,7 +5,7 @@
import kotlin.properties.ReadOnlyProperty
class A<T> {
val <T> foo: ReadOnlyProperty<A<T>, A<Int>>
val foo: ReadOnlyProperty<A<T>, A<Int>>
val x: A<Int> by foo
}
@@ -5,7 +5,7 @@
import kotlin.properties.ReadWriteProperty
class A<T> {
val <T> foo: ReadWriteProperty<A<T>, A<Int>>
val foo: ReadWriteProperty<A<T>, A<Int>>
var x: A<Int> by foo
}