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
@@ -2,7 +2,7 @@
// ERROR: Property must be initialized or be abstract
class A<T>(val n: T) {
val foo: A<Int>
private val foo: A<Int>
inner class B<U>(val m: U) {
fun test(): A<Int> {