-
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.
Update check files for caret shifted to focus
- Loading branch information
Showing
47 changed files
with
287 additions
and
287 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
|
||
-- Error: tests/neg-macros/i9014b/Test_2.scala:1:23 -------------------------------------------------------------------- | ||
-- Error: tests/neg-macros/i9014b/Test_2.scala:1:18 -------------------------------------------------------------------- | ||
1 |val tests = summon[Bar] // error | ||
| ^ | ||
| No given instance of type Bar was found for parameter x of method summon in object Predef. | ||
| I found: | ||
| ^ | ||
| No given instance of type Bar was found for parameter x of method summon in object Predef. | ||
| I found: | ||
| | ||
| given_Bar | ||
| given_Bar | ||
| | ||
| But given instance given_Bar does not match type Bar. | ||
| But given instance given_Bar does not match type 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
-- Error: tests/neg/i10098.scala:20:32 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i10098.scala:20:12 --------------------------------------------------------------------------------- | ||
20 | implicitly[Bar12[Int, String]] // error | ||
| ^ | ||
| There's no Foo2[String, Int] | ||
-- Error: tests/neg/i10098.scala:21:32 --------------------------------------------------------------------------------- | ||
| ^ | ||
| There's no Foo2[String, Int] | ||
-- Error: tests/neg/i10098.scala:21:12 --------------------------------------------------------------------------------- | ||
21 | implicitly[Bar21[Int, String]] // error | ||
| ^ | ||
| There's no Foo1[String, Int] | ||
-- Error: tests/neg/i10098.scala:22:32 --------------------------------------------------------------------------------- | ||
| ^ | ||
| There's no Foo1[String, Int] | ||
-- Error: tests/neg/i10098.scala:22:12 --------------------------------------------------------------------------------- | ||
22 | implicitly[Baz12[Int, String]] // error | ||
| ^ | ||
| There's no Baz12[Int, String] | ||
-- Error: tests/neg/i10098.scala:23:32 --------------------------------------------------------------------------------- | ||
| ^ | ||
| There's no Baz12[Int, String] | ||
-- Error: tests/neg/i10098.scala:23:12 --------------------------------------------------------------------------------- | ||
23 | implicitly[Baz21[Int, String]] // error | ||
| ^ | ||
| There's no Baz21[Int, String] | ||
| ^ | ||
| There's no Baz21[Int, 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- Error: tests/neg/i10603a.scala:2:35 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i10603a.scala:2:20 --------------------------------------------------------------------------------- | ||
2 | val x = implicitly[List[Boolean]] // error | ||
| ^ | ||
| ^ | ||
| No given instance of type List[Boolean] was found for parameter e of method implicitly in object Predef |
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,4 +1,4 @@ | ||
-- Error: tests/neg/i10603b.scala:4:35 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i10603b.scala:4:20 --------------------------------------------------------------------------------- | ||
4 | val x = implicitly[List[Boolean]] // error | ||
| ^ | ||
| No implicit view available from Int => Boolean. | ||
| ^ | ||
| No implicit view available from Int => Boolean. |
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,4 +1,4 @@ | ||
-- Error: tests/neg/i11066.scala:15:37 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i11066.scala:15:21 --------------------------------------------------------------------------------- | ||
15 |val x = Greeter.greet("Who's there?") // error | ||
| ^ | ||
| ^ | ||
|Ambiguous given instances: both given instance joesPrompt in object JoesPrefs and given instance jillsPrompt in object JillsPrefs match type PreferredPrompt of parameter prompt of method greet in object Greeter |
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,4 +1,4 @@ | ||
-- Error: tests/neg/i11797.scala:6:17 ---------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i11797.scala:6:8 ----------------------------------------------------------------------------------- | ||
6 | summon[Foo.Bar] // error | ||
| ^ | ||
| Oops | ||
| ^ | ||
| Oops |
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,4 +1,4 @@ | ||
-- Error: tests/neg/i11982.scala:22:38 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i11982.scala:22:30 --------------------------------------------------------------------------------- | ||
22 | val p1: ("msg", 42) = unpair[Tshape] // error: no singleton value for Any | ||
| ^ | ||
| No singleton value available for Any. | ||
| ^ | ||
| No singleton value available for Any. |
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,12 +1,12 @@ | ||
-- Error: tests/neg/i12232.scala:17:15 --------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i12232.scala:17:9 ---------------------------------------------------------------------------------- | ||
17 | foo(min(3, 4)) // error: works in Scala 2, not in 3 | ||
| ^ | ||
| No given instance of type Op[Int, Int, V] was found for parameter op of method min in object Foo | ||
| ^ | ||
| No given instance of type Op[Int, Int, V] was found for parameter op of method min in object Foo | ||
| | ||
| where: V is a type variable with constraint <: Double | ||
-- Error: tests/neg/i12232.scala:19:16 --------------------------------------------------------------------------------- | ||
| where: V is a type variable with constraint <: Double | ||
-- Error: tests/neg/i12232.scala:19:10 --------------------------------------------------------------------------------- | ||
19 | foo(minR(3, 4)) // error: works in Scala 2, not in 3 | ||
| ^ | ||
| No given instance of type Op[Int, Int, R] was found for parameter op of method minR in object Foo | ||
| ^ | ||
| No given instance of type Op[Int, Int, R] was found for parameter op of method minR in object Foo | ||
| | ||
| where: R is a type variable with constraint <: Double | ||
| where: R is a type variable with constraint <: Double |
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,4 +1,4 @@ | ||
-- Error: tests/neg/i12591/Inner.scala:12:31 --------------------------------------------------------------------------- | ||
-- Error: tests/neg/i12591/Inner.scala:12:22 --------------------------------------------------------------------------- | ||
12 |val badSummon = summon[TC[Bar]] // error here | ||
| ^ | ||
| ^ | ||
|Ambiguous given instances: both outer.inner.Foo.ofFoo and outer.Foo.ofFoo match type outer.inner.Foo.TC[outer.Bar] of parameter x of method summon in object Predef |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
-- Error: tests/neg/i14025.scala:1:88 ---------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i14025.scala:1:16 ---------------------------------------------------------------------------------- | ||
1 |val foo = summon[deriving.Mirror.Product { type MirroredType = [X] =>> [Y] =>> (X, Y) }] // error | ||
| ^ | ||
| ^ | ||
|No given instance of type deriving.Mirror.Product{MirroredType[X] = [Y] =>> (X, Y)} was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Product{MirroredType[X] = [Y] =>> (X, Y)}: type `[X] =>> [Y] =>> (X, Y)` is not a generic product because its subpart `[X] =>> [Y] =>> (X, Y)` is not a supported kind (either `*` or `* -> *`) | ||
-- Error: tests/neg/i14025.scala:2:90 ---------------------------------------------------------------------------------- | ||
-- Error: tests/neg/i14025.scala:2:16 ---------------------------------------------------------------------------------- | ||
2 |val bar = summon[deriving.Mirror.Sum { type MirroredType = [X] =>> [Y] =>> List[(X, Y)] }] // error | ||
| ^ | ||
| ^ | ||
|No given instance of type deriving.Mirror.Sum{MirroredType[X] = [Y] =>> List[(X, Y)]} was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Sum{MirroredType[X] = [Y] =>> List[(X, Y)]}: type `[X] =>> [Y] =>> List[(X, Y)]` is not a generic sum because its subpart `[X] =>> [Y] =>> List[(X, Y)]` is not a supported kind (either `*` or `* -> *`) |
Oops, something went wrong.