Introduce "Convert property getter to initializer" intention
#KT-13854 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6fbf6b0a93
commit
1898df3fb7
+3
@@ -0,0 +1,3 @@
|
||||
class A {
|
||||
val foo: Int = <spot>1</spot>
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class A {
|
||||
val foo: Int
|
||||
<spot>get() = 1</spot>
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention converts a property getter to to a initializer.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user