Quick Fixes: Implement 'Add val/var to primary constructor parameter' quick-fix for data classes

#KT-4038 Fixed
This commit is contained in:
Alexey Sedunov
2015-12-23 15:30:37 +03:00
parent 6978d842fb
commit c90d283ff5
13 changed files with 129 additions and 58 deletions
@@ -0,0 +1 @@
class Foo(n: Int, <spot>val s</spot>: String)
@@ -0,0 +1 @@
class Foo(n: Int, <spot>s</spot>: String)
@@ -0,0 +1,5 @@
<html>
<body>
This intention adds val/var keyword to the primary constructor parameter effectively making it a property.
</body>
</html>