Don't propose making property private if it's used in inline function
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user