[FIR] KT-45972, KT-49072: Add visibility checks to the type resolution

This commit is contained in:
Nikolay Lunyak
2021-10-15 16:42:41 +03:00
committed by TeamCityServer
parent 2dc2a90755
commit 0eb2d117ef
17 changed files with 223 additions and 42 deletions
@@ -14,5 +14,5 @@ package p1
import p2.*
val <!EXPOSED_PROPERTY_TYPE!>x<!>: X = <!INITIALIZER_TYPE_MISMATCH, TYPE_MISMATCH!>X()<!>
val x: X = X()
val <!EXPOSED_PROPERTY_TYPE!>y<!>: Y = <!INVISIBLE_REFERENCE!>Y<!>()