Commit 5427ca9
[FIR] Add "Actual ignorability does not match expect" diagnostic.
Do not report ignorability annotations in ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT because these cases are covered by new diagnostic.
General rule is that we do not allow mismatching between must-use and ignorable, but if there is no meaningful way to fix this (e.g. declaration came from typealias or supertype), we allow matching to Unspecified.
#KT-77593 Fixed1 parent 6cd3146 commit 5427ca9
File tree
38 files changed
+1278
-16
lines changed- analysis
- analysis-api-fir/gen/org/jetbrains/kotlin/analysis/api/fir/diagnostics
- low-level-api-fir/tests-gen/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based
- compiler
- fir
- analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners
- checkers
- checkers-component-generator/src/org/jetbrains/kotlin/fir/checkers/generator/diagnostics
- gen/org/jetbrains/kotlin/fir/analysis/diagnostics
- src/org/jetbrains/kotlin/fir/analysis
- checkers/declaration
- diagnostics
- resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/mpp
- semantics/src/org/jetbrains/kotlin/fir/declarations
- resolution.common
- src/org/jetbrains/kotlin/resolve/calls/mpp
- testData/diagnostics/tests/crv/expectActual
- tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners
- core/compiler.common/src/org/jetbrains/kotlin/resolve/multiplatform
38 files changed
+1278
-16
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4934 | 4934 | | |
4935 | 4935 | | |
4936 | 4936 | | |
| 4937 | + | |
| 4938 | + | |
| 4939 | + | |
| 4940 | + | |
| 4941 | + | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
| 4945 | + | |
4937 | 4946 | | |
4938 | 4947 | | |
4939 | 4948 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3457 | 3457 | | |
3458 | 3458 | | |
3459 | 3459 | | |
| 3460 | + | |
| 3461 | + | |
| 3462 | + | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
3460 | 3467 | | |
3461 | 3468 | | |
3462 | 3469 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4144 | 4144 | | |
4145 | 4145 | | |
4146 | 4146 | | |
| 4147 | + | |
| 4148 | + | |
| 4149 | + | |
| 4150 | + | |
| 4151 | + | |
| 4152 | + | |
| 4153 | + | |
| 4154 | + | |
4147 | 4155 | | |
4148 | 4156 | | |
4149 | 4157 | | |
| |||
Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 53 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments