Implement Abstract Member Intention: Support primary constructor parameters
#KT-8427 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
val foo: Int
|
||||
}
|
||||
|
||||
class B(<spot>override val foo: Int</spot>) : A {
|
||||
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
interface A {
|
||||
<spot>val foo: Int</spot>
|
||||
}
|
||||
|
||||
class B : A {
|
||||
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention searches for all classes that can implement selected abstract property, and creates corresponding property parameter there.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user