[VISUALIZER] Forbid to walk inside type reference children in psi

This commit is contained in:
Ivan Kylchik
2021-02-15 14:05:30 +03:00
committed by TeamCityServer
parent cc7d82ab7b
commit 951d607445
5 changed files with 31 additions and 28 deletions
@@ -9,7 +9,7 @@ class C<T, out S> {
interface Test {
// C<out CharSequence, *>.D<in collections/List<*>, *>
// │ class C<T, S> collections/List<*>
// │
// │ C<out CharSequence, *>.D<in collections/List<*>, *>
// │ │
val x: a.b.C<out CharSequence, *>.D<in List<*>, *>
}
@@ -7,12 +7,10 @@ private fun resolveAccessorCall(
// │
context: TranslationContext
// [ERROR : ResolvedCall<PropertyDescriptor>]<[ERROR : PropertyDescriptor]>
// │ [ERROR : PropertyDescriptor]
// │ │
// │
): ResolvedCall<PropertyDescriptor> {
// [ERROR : ResolvedCall<PropertyDescriptor>]<[ERROR : PropertyDescriptor]>
// │ [ERROR : PropertyDescriptor]
// │ │
// │
return object : ResolvedCall<PropertyDescriptor> {
// [ERROR : <ERROR PROPERTY TYPE>]
// │ [ERROR: not resolved]
@@ -13,13 +13,13 @@ abstract class My<T : Some> {
abstract fun foo(arg: T)
// [ERROR : T]
// │ class My<T : Some>
// │ [ERROR : T]
// │ │
abstract val y: My.T
// [ERROR : T]
// │ class My<T : Some>
// │
// │ [ERROR : T]
// │ │
abstract val z: test.My.T
// [ERROR : T]