-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14755 from dotty-staging/fix-14682
Fix 14682: fix overriding check in mergeSingleDenot
- Loading branch information
Showing
14 changed files
with
57 additions
and
29 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
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
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
8 changes: 4 additions & 4 deletions
8
...rgs/explicit-nulls/byname-nullables.check → ...explicit-nulls/neg/byname-nullables.check
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...gs/explicit-nulls/byname-nullables1.check → ...xplicit-nulls/neg/byname-nullables1.check
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
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...eg-custom-args/explicit-nulls/i7883.check → tests/explicit-nulls/neg/i7883.check
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
File renamed without changes.
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,27 @@ | ||
class C1: | ||
sealed abstract class Name { | ||
type ThisName <: Name | ||
def compareTo(that: ThisName): Int = ??? | ||
} | ||
|
||
class LocalName extends Name with Comparable[LocalName] { | ||
type ThisName = LocalName | ||
} | ||
|
||
val localName = LocalName() | ||
println(localName) | ||
var count = 0 | ||
|
||
class C2: | ||
sealed abstract class Name { | ||
type ThisName <: Name | ||
def compareTo(that: ThisName | Null): Int = ??? | ||
} | ||
|
||
class LocalName extends Name with Comparable[LocalName] { | ||
type ThisName = LocalName | ||
} | ||
|
||
val localName = LocalName() | ||
println(localName) | ||
var count = 0 |
File renamed without changes.