|
1 |
| --- Error: tests/neg/i13044.scala:61:40 --------------------------------------------------------------------------------- |
2 |
| -61 | implicit def typeSchema: Schema[A] = Schema.gen // error // error |
| 1 | +-- [E172] Type Error: tests/neg/i13044.scala:61:40 --------------------------------------------------------------------- |
| 2 | +61 | implicit def typeSchema: Schema[A] = Schema.gen // error |
3 | 3 | | ^^^^^^^^^^
|
4 |
| - | given instance gen is declared as `inline`, but was not inlined |
| 4 | + | No given instance of type Schema[B] was found. |
| 5 | + | I found: |
5 | 6 | |
|
6 |
| - | Try increasing `-Xmax-inlines` above 32 |
| 7 | + | Schema.gen[B] |
| 8 | + | |
| 9 | + | But given instance gen in trait SchemaDerivation does not match type Schema[B]. |
7 | 10 | |--------------------------------------------------------------------------------------------------------------------
|
8 | 11 | |Inline stack trace
|
9 | 12 | |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
10 | 13 | |This location contains code that was inlined from i13044.scala:17
|
11 | 14 | 17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]]
|
12 |
| - | ^ |
13 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
| - |This location contains code that was inlined from i13044.scala:17 |
15 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
16 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
17 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
18 |
| - |This location contains code that was inlined from i13044.scala:17 |
19 |
| -33 | inline given gen[A]: Schema[A] = derived |
20 |
| - | ^^^^^^^ |
21 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
22 |
| - |This location contains code that was inlined from i13044.scala:17 |
23 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
24 |
| - | ^ |
25 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
26 |
| - |This location contains code that was inlined from i13044.scala:17 |
27 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
28 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
29 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
30 |
| - |This location contains code that was inlined from i13044.scala:17 |
31 |
| -33 | inline given gen[A]: Schema[A] = derived |
32 |
| - | ^^^^^^^ |
33 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
34 |
| - |This location contains code that was inlined from i13044.scala:17 |
35 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
36 |
| - | ^ |
37 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
38 |
| - |This location contains code that was inlined from i13044.scala:17 |
39 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
40 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
41 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
42 |
| - |This location contains code that was inlined from i13044.scala:17 |
43 |
| -33 | inline given gen[A]: Schema[A] = derived |
44 |
| - | ^^^^^^^ |
45 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
46 |
| - |This location contains code that was inlined from i13044.scala:17 |
47 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
48 |
| - | ^ |
49 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
50 |
| - |This location contains code that was inlined from i13044.scala:17 |
51 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
52 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
53 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
54 |
| - |This location contains code that was inlined from i13044.scala:17 |
55 |
| -33 | inline given gen[A]: Schema[A] = derived |
56 |
| - | ^^^^^^^ |
57 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
58 |
| - |This location contains code that was inlined from i13044.scala:17 |
59 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
60 |
| - | ^ |
| 15 | + | ^^^^^^^^^^^^^^^^^^^^^^^ |
61 | 16 | |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
62 | 17 | |This location contains code that was inlined from i13044.scala:17
|
63 | 18 | 18 | builder :: recurse[ts]
|
|
71 | 26 | 33 | inline given gen[A]: Schema[A] = derived
|
72 | 27 | | ^^^^^^^
|
73 | 28 | --------------------------------------------------------------------------------------------------------------------
|
74 |
| --- Error: tests/neg/i13044.scala:61:40 --------------------------------------------------------------------------------- |
75 |
| -61 | implicit def typeSchema: Schema[A] = Schema.gen // error // error |
76 |
| - | ^^^^^^^^^^ |
77 |
| - | method recurse is declared as `inline`, but was not inlined |
78 |
| - | |
79 |
| - | Try increasing `-Xmax-inlines` above 32 |
80 |
| - |-------------------------------------------------------------------------------------------------------------------- |
81 |
| - |Inline stack trace |
82 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
83 |
| - |This location contains code that was inlined from i13044.scala:18 |
84 |
| -18 | builder :: recurse[ts] |
85 |
| - | ^^^^^^^ |
86 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
87 |
| - |This location contains code that was inlined from i13044.scala:18 |
88 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
89 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
90 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
91 |
| - |This location contains code that was inlined from i13044.scala:18 |
92 |
| -33 | inline given gen[A]: Schema[A] = derived |
93 |
| - | ^^^^^^^ |
94 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
95 |
| - |This location contains code that was inlined from i13044.scala:18 |
96 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
97 |
| - | ^ |
98 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
99 |
| - |This location contains code that was inlined from i13044.scala:18 |
100 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
101 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
102 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
103 |
| - |This location contains code that was inlined from i13044.scala:18 |
104 |
| -33 | inline given gen[A]: Schema[A] = derived |
105 |
| - | ^^^^^^^ |
106 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
107 |
| - |This location contains code that was inlined from i13044.scala:18 |
108 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
109 |
| - | ^ |
110 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
111 |
| - |This location contains code that was inlined from i13044.scala:18 |
112 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
113 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
114 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
115 |
| - |This location contains code that was inlined from i13044.scala:18 |
116 |
| -33 | inline given gen[A]: Schema[A] = derived |
117 |
| - | ^^^^^^^ |
118 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
119 |
| - |This location contains code that was inlined from i13044.scala:18 |
120 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
121 |
| - | ^ |
122 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
123 |
| - |This location contains code that was inlined from i13044.scala:18 |
124 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
125 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
126 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
127 |
| - |This location contains code that was inlined from i13044.scala:18 |
128 |
| -33 | inline given gen[A]: Schema[A] = derived |
129 |
| - | ^^^^^^^ |
130 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
131 |
| - |This location contains code that was inlined from i13044.scala:18 |
132 |
| -17 | val builder = summonInline[Schema[t]].asInstanceOf[Schema[Any]] |
133 |
| - | ^ |
134 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
135 |
| - |This location contains code that was inlined from i13044.scala:18 |
136 |
| -18 | builder :: recurse[ts] |
137 |
| - | ^^^^^^^^^^^ |
138 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
139 |
| - |This location contains code that was inlined from i13044.scala:18 |
140 |
| -29 | lazy val fields = recurse[m.MirroredElemTypes] |
141 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
142 |
| - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
143 |
| - |This location contains code that was inlined from i13044.scala:18 |
144 |
| -33 | inline given gen[A]: Schema[A] = derived |
145 |
| - | ^^^^^^^ |
146 |
| - -------------------------------------------------------------------------------------------------------------------- |
0 commit comments