|
1 | 1 | -- Error: tests/neg/mirror-synthesis-errors.scala:21:32 ----------------------------------------------------------------
|
2 | 2 | 21 |val testA = summon[Mirror.Of[A]] // error: Not a sealed trait
|
3 | 3 | | ^
|
4 |
| - |No given instance of type deriving.Mirror.Of[A] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[A]: trait A is not a sealed trait |
| 4 | + |No given instance of type deriving.Mirror.Of[A] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[A]: trait A is not a sealed trait |
5 | 5 | -- Error: tests/neg/mirror-synthesis-errors.scala:22:32 ----------------------------------------------------------------
|
6 | 6 | 22 |val testC = summon[Mirror.Of[C]] // error: Does not have subclasses
|
7 | 7 | | ^
|
8 |
| - |No given instance of type deriving.Mirror.Of[C] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[C]: trait C does not have subclasses |
| 8 | + |No given instance of type deriving.Mirror.Of[C] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[C]: trait C does not have subclasses |
9 | 9 | -- Error: tests/neg/mirror-synthesis-errors.scala:23:32 ----------------------------------------------------------------
|
10 | 10 | 23 |val testD = summon[Mirror.Of[D]] // error: child SubD takes more than one parameter list
|
11 | 11 | | ^
|
12 |
| - |No given instance of type deriving.Mirror.Of[D] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[D]: class D's child class SubD is not a generic product because class SubD takes more than one parameter list |
| 12 | + |No given instance of type deriving.Mirror.Of[D] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[D]: class D's child class SubD is not a generic product because class SubD takes more than one parameter list |
13 | 13 | -- Error: tests/neg/mirror-synthesis-errors.scala:24:38 ----------------------------------------------------------------
|
14 | 14 | 24 |val testSubD = summon[Mirror.Of[SubD]] // error: takes more than one parameter list
|
15 | 15 | | ^
|
16 |
| - |No given instance of type deriving.Mirror.Of[SubD] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[SubD]: class SubD is not a sealed class |
| 16 | + |No given instance of type deriving.Mirror.Of[SubD] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[SubD]: class SubD is not a sealed class |
17 | 17 | -- Error: tests/neg/mirror-synthesis-errors.scala:25:32 ----------------------------------------------------------------
|
18 | 18 | 25 |val testE = summon[Mirror.Of[E]] // error: Not an abstract class
|
19 | 19 | | ^
|
20 |
| - |No given instance of type deriving.Mirror.Of[E] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[E]: class E is not an abstract class |
| 20 | + |No given instance of type deriving.Mirror.Of[E] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[E]: class E is not an abstract class |
21 | 21 | -- Error: tests/neg/mirror-synthesis-errors.scala:26:32 ----------------------------------------------------------------
|
22 | 22 | 26 |val testF = summon[Mirror.Of[F]] // error: No children
|
23 | 23 | | ^
|
24 |
| - |No given instance of type deriving.Mirror.Of[F] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[F]: trait F does not have subclasses |
| 24 | + |No given instance of type deriving.Mirror.Of[F] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[F]: trait F does not have subclasses |
25 | 25 | -- Error: tests/neg/mirror-synthesis-errors.scala:27:36 ----------------------------------------------------------------
|
26 | 26 | 27 |val testG = summon[Mirror.Of[Foo.G]] // error: Has anonymous subclasses
|
27 | 27 | | ^
|
28 |
| - |No given instance of type deriving.Mirror.Of[Foo.G] was found for parameter x of method summon in object Predef. Failed to synthesize implicit of type deriving.Mirror.Of[Foo.G]: trait G has anonymous or inaccessible subclasses |
| 28 | + |No given instance of type deriving.Mirror.Of[Foo.G] was found for parameter x of method summon in object Predef. Failed to synthesize an instance of type deriving.Mirror.Of[Foo.G]: trait G has anonymous or inaccessible subclasses |
0 commit comments