Effective visibility is now considered private for invisible fake #KT-14469 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-07 12:01:07 +03:00
parent afa58599ec
commit ce72337ebd
4 changed files with 41 additions and 2 deletions
@@ -0,0 +1,12 @@
// KT-14469: SOE during effective visibility evaluation
abstract class Base(private val v: String)
fun bar(arg: String) = arg
class Derived : Base("123") {
private <!NOTHING_TO_INLINE!>inline<!> fun foo() {
bar(<!INVISIBLE_MEMBER!>v<!>)
}
}