Add intentions to move property from/to primary constructor
#KT-4578 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
class TestClass(text: String) {
|
||||
private val text = text
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class TestClass(private val <caret>text: String)
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention moves property from primary constructor to the class body.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user