Create from usage: make new member function/property private by default
#KT-6689 Fixed
This commit is contained in:
@@ -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>
|
||||
|
||||
fun test(): A<Int> {
|
||||
return this.foo
|
||||
|
||||
Reference in New Issue
Block a user