-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LL FIR] ContextCollector: support error primary constructor
^KT-74632 Fixed
- Loading branch information
1 parent
b319f58
commit e20d1ca
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
analysis/low-level-api-fir/testData/contextCollector/errorPrimaryConstructor.copy.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Tower Data Context: | ||
Element 0 | ||
Scope: FirDefaultStarImportingScope | ||
Element 1 | ||
Scope: FirExplicitStarImportingScope | ||
Element 2 | ||
Scope: FirDefaultSimpleImportingScope | ||
Element 3 | ||
Scope: FirDefaultSimpleImportingScope | ||
Element 4 | ||
Scope: FirPackageMemberScope | ||
Element 5 | ||
Scope: FirExplicitSimpleImportingScope | ||
|
||
FILE: [ResolvedTo(IMPORTS)] errorPrimaryConstructor.kt | ||
public abstract [ResolvedTo(STATUS)] interface Temp : <ERROR TYPE REF: Symbol not found for s> { | ||
public [ResolvedTo(BODY_RESOLVE)] error_constructor(): R|Temp| { | ||
super<<ERROR TYPE REF: Symbol not found for s>>() | ||
} | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
analysis/low-level-api-fir/testData/contextCollector/errorPrimaryConstructor.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
interface Temp : <expr>s</expr> () -> Unit |
21 changes: 21 additions & 0 deletions
21
analysis/low-level-api-fir/testData/contextCollector/errorPrimaryConstructor.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Tower Data Context: | ||
Element 0 | ||
Scope: FirDefaultStarImportingScope | ||
Element 1 | ||
Scope: FirExplicitStarImportingScope | ||
Element 2 | ||
Scope: FirDefaultSimpleImportingScope | ||
Element 3 | ||
Scope: FirDefaultSimpleImportingScope | ||
Element 4 | ||
Scope: FirPackageMemberScope | ||
Element 5 | ||
Scope: FirExplicitSimpleImportingScope | ||
|
||
FILE: [ResolvedTo(IMPORTS)] errorPrimaryConstructor.kt | ||
public abstract [ResolvedTo(ANNOTATION_ARGUMENTS)] interface Temp : <ERROR TYPE REF: Symbol not found for s> { | ||
public [ResolvedTo(BODY_RESOLVE)] error_constructor(): R|Temp| { | ||
super<<ERROR TYPE REF: Symbol not found for s>>() | ||
} | ||
|
||
} |
6 changes: 6 additions & 0 deletions
6
.../org/jetbrains/kotlin/analysis/low/level/api/fir/ContextCollectorSourceTestGenerated.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.