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,10 +1,10 @@
// "Make constructor parameter a property in class 'B'" "true"
class B(private val bar: String) {
class B(<selection>private</selection><caret> val bar: String) {
inner class A {
fun foo() {
val a = bar<caret>
val a = bar
}
}
}