KT-9839: intention introduced: convert primary constructor to secondary one
(cherry picked from commit 93aaa48)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
d4418d5686
commit
7f50e6e70e
+15
@@ -0,0 +1,15 @@
|
||||
interface A {
|
||||
val s: String
|
||||
}
|
||||
|
||||
interface B {
|
||||
val x: Int
|
||||
}
|
||||
|
||||
abstract class C(open val d: Double)
|
||||
|
||||
class D(<caret>open val y: Int, override val d: Double) : A, C(d), B {
|
||||
override val s = "$y -> $d"
|
||||
|
||||
override val x = y * y
|
||||
}
|
||||
Reference in New Issue
Block a user