Make constructor parameter a property: select 'private' to be able to remove it #KT-13187 Fixed

(cherry picked from commit dc8c195)
This commit is contained in:
Mikhail Glukhikh
2016-07-27 14:48:26 +03:00
committed by Mikhail Glukhikh
parent 0278a6c8a4
commit 838cfc7dca
4 changed files with 13 additions and 9 deletions
@@ -1,7 +1,7 @@
// "Make constructor parameter a property" "true"
class A(private val foo: String) {
class A(<selection>private<caret></selection> val foo: String) {
fun bar() {
val a = foo<caret>
val a = foo
}
}