Quick Fixes: Implement 'Initialize with constructor parameter' quick-fix
#KT-6604 Fixed
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// "Initialize with constructor parameter" "true"
|
||||
open class A {
|
||||
<caret>var n: Int
|
||||
get() = 1
|
||||
}
|
||||
|
||||
class B : A()
|
||||
|
||||
fun test() {
|
||||
val a = A()
|
||||
}
|
||||
Reference in New Issue
Block a user