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
+9
@@ -0,0 +1,9 @@
|
||||
class Foo {
|
||||
val z = y
|
||||
|
||||
val x: Int
|
||||
|
||||
constructor(x: Int = 4, y: Int) {
|
||||
this.x = x
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Foo(val x: Int = 4, y: Int) {
|
||||
val z = y
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts primary constructor to secondary one.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user