KTIJ-26576 [Analysis API] Add where clause to classHeaderParts in FirTowerDataContextAllElementsCollector

In `where` clause there are type constraints, and there are no
supertypes scopes at those positions

^KTIJ-26576 Fixed
This commit is contained in:
Roman Golyshev
2023-08-08 23:28:20 +02:00
committed by teamcity
parent 5b0c075c8d
commit 71a4f36faf
5 changed files with 27 additions and 0 deletions
@@ -0,0 +1,7 @@
// FILE: main.kt
abstract class Outer {
abstract class Nested : Outer()
}
class Foo<T> : Outer.Nested() where T : <expr>Outer.Nested</expr>
@@ -0,0 +1,7 @@
Before shortening: Outer.Nested
with DO_NOT_SHORTEN:
with SHORTEN_IF_ALREADY_IMPORTED:
with SHORTEN_AND_IMPORT:
[type] Outer.Nested
with SHORTEN_AND_STAR_IMPORT:
[type] Outer.Nested