Create from usage: make new member function/property private by default

#KT-6689 Fixed
This commit is contained in:
Alexey Sedunov
2015-02-03 21:10:58 +03:00
parent eac735e91a
commit 57763e10e0
30 changed files with 76 additions and 26 deletions
@@ -5,7 +5,7 @@ import kotlin.properties.ReadOnlyProperty
class A<T>(val t: T) {
val x: A<Int> by foo(t, "")
fun foo(t: T, s: String): ReadOnlyProperty<A<T>, A<Int>> {
private fun foo(t: T, s: String): ReadOnlyProperty<A<T>, A<Int>> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}