-
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.
Backport "Space: Replace showType & make Space Showable" to LTS (#20816)
Backports #19370 to the LTS branch. PR submitted by the release tooling. [skip ci]
- Loading branch information
Showing
10 changed files
with
106 additions
and
173 deletions.
There are no files selected for viewing
232 changes: 86 additions & 146 deletions
232
compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
14: Pattern Match Exhaustivity: _: Trait & Test.Alias1, _: Clazz & Test.Alias1 | ||
19: Pattern Match Exhaustivity: _: Trait & Test.Alias2 | ||
23: Pattern Match Exhaustivity: _: Trait & (Test.Alias2 & OpenTrait2){val x: Int} | ||
14: Pattern Match Exhaustivity: _: Trait & Alias1, _: Clazz & Alias1 | ||
19: Pattern Match Exhaustivity: _: Trait & Alias2 | ||
23: Pattern Match Exhaustivity: _: Trait & (Alias2 & OpenTrait2){val x: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
19: Pattern Match Exhaustivity: _: TypeDef | ||
19: Pattern Match Exhaustivity: _: x$1.reflect.TypeDef |
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 @@ | ||
5: Pattern Match Exhaustivity: _: BTypes.ClassBType | ||
5: Pattern Match Exhaustivity: _: BTypes.this.ClassBType |
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 @@ | ||
5: Pattern Match Exhaustivity: _: BTypes.ClassBType | ||
5: Pattern Match Exhaustivity: _: BTypes.this.ClassBType |
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 @@ | ||
34: Pattern Match Exhaustivity: bar.C() | ||
34: Pattern Match Exhaustivity: foo.bar.C() |
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 @@ | ||
3: Pattern Match Exhaustivity: _: Expr[Int] | ||
3: Pattern Match Exhaustivity: _: scala.quoted.Expr[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12: Pattern Match Exhaustivity: (_, FancyFoo(_)) | ||
12: Pattern Match Exhaustivity: (_, NonExhaustive#FancyFoo(_)) |
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 @@ | ||
10: Pattern Match Exhaustivity: _: a.Elem[_] | ||
10: Pattern Match Exhaustivity: _: a.Elem[?] |