File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 1- -- [E195] Potential Issue Warning: tests/neg/i13044.scala:26:8 ---------------------------------------------------------
2- 26 | new Schema[A] {
3- | ^
4- | New anonymous class definition will be duplicated at each inline site
5- |
6- | longer explanation available when compiling with `-explain`
7- -- [E195] Potential Issue Warning: tests/neg/i13044.scala:32:8 ---------------------------------------------------------
8- 32 | new Schema[A] {
9- | ^
10- | New anonymous class definition will be duplicated at each inline site
11- |
12- | longer explanation available when compiling with `-explain`
131-- Error: tests/neg/i13044.scala:65:40 ---------------------------------------------------------------------------------
14265 | implicit def typeSchema: Schema[A] = Schema.gen // error // error
153 | ^^^^^^^^^^
Original file line number Diff line number Diff line change @@ -23,15 +23,11 @@ trait SchemaDerivation {
2323 inline summonInline[Mirror .Of [A ]] match {
2424 case m : Mirror .SumOf [A ] =>
2525 lazy val subTypes = recurse[m.MirroredElemTypes ]
26- new Schema [A ] {
27- def build : A = ???
28- }
26+ ???
2927
3028 case m : Mirror .ProductOf [A ] =>
3129 lazy val fields = recurse[m.MirroredElemTypes ]
32- new Schema [A ] {
33- def build : A = ???
34- }
30+ ???
3531 }
3632
3733 inline given gen [A ]: Schema [A ] = derived
You can’t perform that action at this time.
0 commit comments