Don't propose making property private if it's used in inline function

This commit is contained in:
Dmitry Neverov
2017-07-03 21:58:22 +02:00
parent 8666b95dd2
commit 08afaca518
3 changed files with 30 additions and 6 deletions
@@ -126,4 +126,12 @@ val x = object {
f3()
f4()
}
}
class F(val bar: Int) {
inline fun baz() = bar
}
class G(val bar: Int) {
private inline fun baz() = bar
}