|
1 |
| --- Error: tests/neg/i14823a.scala:16:48 -------------------------------------------------------------------------------- |
2 |
| -16 |val foo = summon[Mirror.Of[Box[Int] | Box[Int]]] // error |
3 |
| - | ^ |
4 |
| - |No given instance of type deriving.Mirror.Of[Box[Int] | Box[Int]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Box[Int] | Box[Int]]: |
5 |
| - | * type `Box[Int] | Box[Int]` is not a generic product because its subpart `Box[Int] | Box[Int]` is a top-level union type. |
6 |
| - | * type `Box[Int] | Box[Int]` is not a generic sum because its subpart `Box[Int] | Box[Int]` is a top-level union type. |
7 |
| --- Error: tests/neg/i14823a.scala:17:58 -------------------------------------------------------------------------------- |
8 |
| -17 |val bar = summon[MirrorK1.Of[[X] =>> Box[Int] | Box[Int]]] // error |
9 |
| - | ^ |
10 |
| - |No given instance of type MirrorK1.Of[[X] =>> Box[Int] | Box[Int]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type MirrorK1.Of[[X] =>> Box[Int] | Box[Int]]: |
11 |
| - | * type `[A] =>> Box[Int] | Box[Int]` is not a generic product because its subpart `Box[Int] | Box[Int]` is a top-level union type. |
12 |
| - | * type `[A] =>> Box[Int] | Box[Int]` is not a generic sum because its subpart `Box[Int] | Box[Int]` is a top-level union type. |
13 |
| --- Error: tests/neg/i14823a.scala:18:63 -------------------------------------------------------------------------------- |
14 |
| -18 |def baz = summon[deriving.Mirror.Of[Foo[String] | Foo[String]]] // error |
15 |
| - | ^ |
16 |
| - |No given instance of type deriving.Mirror.Of[Foo[String] | Foo[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Foo[String] | Foo[String]]: |
17 |
| - | * type `Foo[String] | Foo[String]` is not a generic product because its subpart `Foo[String] | Foo[String]` is a top-level union type. |
18 |
| - | * type `Foo[String] | Foo[String]` is not a generic sum because its subpart `Foo[String] | Foo[String]` is a top-level union type. |
| 1 | +-- Error: tests/neg/i14823a.scala:16:51 -------------------------------------------------------------------------------- |
| 2 | +16 |val foo = summon[Mirror.Of[Box[Int] | Box[String]]] // error |
| 3 | + | ^ |
| 4 | + |No given instance of type deriving.Mirror.Of[Box[Int] | Box[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Box[Int] | Box[String]]: |
| 5 | + | * type `Box[Int] | Box[String]` is not a generic product because its subpart `Box[Int] | Box[String]` is a top-level union type. |
| 6 | + | * type `Box[Int] | Box[String]` is not a generic sum because its subpart `Box[Int] | Box[String]` is a top-level union type. |
| 7 | +-- Error: tests/neg/i14823a.scala:17:61 -------------------------------------------------------------------------------- |
| 8 | +17 |val bar = summon[MirrorK1.Of[[X] =>> Box[Int] | Box[String]]] // error |
| 9 | + | ^ |
| 10 | + |No given instance of type MirrorK1.Of[[X] =>> Box[Int] | Box[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type MirrorK1.Of[[X] =>> Box[Int] | Box[String]]: |
| 11 | + | * type `[A] =>> Box[Int] | Box[String]` is not a generic product because its subpart `Box[Int] | Box[String]` is a top-level union type. |
| 12 | + | * type `[A] =>> Box[Int] | Box[String]` is not a generic sum because its subpart `Box[Int] | Box[String]` is a top-level union type. |
| 13 | +-- Error: tests/neg/i14823a.scala:18:60 -------------------------------------------------------------------------------- |
| 14 | +18 |def baz = summon[deriving.Mirror.Of[Foo[Int] | Foo[String]]] // error |
| 15 | + | ^ |
| 16 | + |No given instance of type deriving.Mirror.Of[Foo[Int] | Foo[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Foo[Int] | Foo[String]]: |
| 17 | + | * type `Foo[Int] | Foo[String]` is not a generic product because its subpart `Foo[Int] | Foo[String]` is a top-level union type. |
| 18 | + | * type `Foo[Int] | Foo[String]` is not a generic sum because its subpart `Foo[Int] | Foo[String]` is a top-level union type. |
19 | 19 | -- Error: tests/neg/i14823a.scala:20:66 --------------------------------------------------------------------------------
|
20 | 20 | 20 |def qux = summon[deriving.Mirror.Of[Option[Int] | Option[String]]] // error
|
21 | 21 | | ^
|
22 |
| - |No given instance of type deriving.Mirror.Of[Option[Int] | Option[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Option[Int] | Option[String]]: |
| 22 | + |No given instance of type deriving.Mirror.Of[Option[Int] | Option[String]] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Option[Int] | Option[String]]: |
23 | 23 | | * type `Option[Int] | Option[String]` is not a generic product because its subpart `Option[Int] | Option[String]` is a top-level union type.
|
24 | 24 | | * type `Option[Int] | Option[String]` is not a generic sum because its subpart `Option[Int] | Option[String]` is a top-level union type.
|
0 commit comments