-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIR] Set
status.isOverride
for fake overrides
Even though SO may not be correct overrides sometimes, it feels more natural to treat fake overrides as... well, "overrides". And without it we'd need to make the code in `FirOverrideChecker` less intuitive.
- Loading branch information
1 parent
afd8895
commit 7056ad5
Showing
252 changed files
with
1,025 additions
and
1,015 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
...testData/components/scopeProvider/declaredMemberScope/delegateInterfaceLibrary.pretty.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
private val p: A | ||
|
||
open var bar: kotlin.Long | ||
override var bar: kotlin.Long | ||
|
||
open val kotlin.Int.doo: kotlin.String | ||
override val kotlin.Int.doo: kotlin.String | ||
|
||
open fun foo() | ||
override fun foo() | ||
|
||
open val foo: kotlin.Int | ||
override val foo: kotlin.Int | ||
|
||
open var kotlin.Int.zoo: kotlin.Unit | ||
override var kotlin.Int.zoo: kotlin.Unit | ||
|
||
open fun kotlin.Int.smth(): kotlin.Short | ||
override fun kotlin.Int.smth(): kotlin.Short | ||
|
||
constructor(p: A) |
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
2 changes: 1 addition & 1 deletion
2
...-api/testData/components/scopeProvider/delegatedMemberScope/propertyWithGetter.pretty.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 |
---|---|---|
@@ -1 +1 @@ | ||
open val foo: kotlin.Int | ||
override val foo: kotlin.Int |
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
12 changes: 6 additions & 6 deletions
12
...sis/analysis-api/testData/components/scopeProvider/delegatedMemberScope/simple.pretty.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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
open var kotlin.Int.zoo: kotlin.Unit | ||
override var kotlin.Int.zoo: kotlin.Unit | ||
|
||
open fun foo() | ||
override fun foo() | ||
|
||
open val foo: kotlin.Int | ||
override val foo: kotlin.Int | ||
|
||
open fun kotlin.Int.smth(): kotlin.Short | ||
override fun kotlin.Int.smth(): kotlin.Short | ||
|
||
open var bar: kotlin.Long | ||
override var bar: kotlin.Long | ||
|
||
open val kotlin.Int.doo: kotlin.String | ||
override val kotlin.Int.doo: kotlin.String |
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
4 changes: 2 additions & 2 deletions
4
...is-api/testData/components/scopeProvider/delegatedMemberScope/withImplicitType.pretty.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
open fun foo(): kotlin.Int | ||
override fun foo(): kotlin.Int | ||
|
||
open fun bar(): kotlin.Int | ||
override fun bar(): kotlin.Int |
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
2 changes: 1 addition & 1 deletion
2
...ysis-api/testData/components/scopeProvider/delegatedMemberScope/withOverridden.pretty.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 |
---|---|---|
@@ -1 +1 @@ | ||
open fun bar() | ||
override fun bar() |
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
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
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
Oops, something went wrong.