File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/docs/reference/contextual Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ have the given instances for our primitive types:
95
95
case ' [String *: $tpes] => ' { summon[Eq [String ]] } :: summonAll(tpes)
96
96
case ' [Int *: $tpes] => ' { summon[Eq [Int ]] } :: summonAll(tpes)
97
97
case ' [$tpe *: $tpes] => derived(using tpe, qctx) :: summonAll(tpes)
98
- case ' [Unit ] => Nil
98
+ case ' [EmptyTuple ] => Nil
99
99
}
100
100
```
101
101
@@ -173,7 +173,7 @@ object Eq {
173
173
case ' [String *: $tpes] => ' { summon[Eq [String ]] } :: summonAll(tpes)
174
174
case ' [Int *: $tpes] => ' { summon[Eq [Int ]] } :: summonAll(tpes)
175
175
case ' [$tpe *: $tpes] => derived(using tpe, qctx) :: summonAll(tpes)
176
- case ' [Unit ] => Nil
176
+ case ' [EmptyTuple ] => Nil
177
177
}
178
178
179
179
given derived [T : Type ](using qctx : QuoteContext ) as Expr [Eq [T ]] = {
@@ -222,4 +222,4 @@ object Macro3 {
222
222
223
223
implicit inline def eqGen [T ]: Eq [T ] = $ { Eq .derived[T ] }
224
224
}
225
- ```
225
+ ```
You can’t perform that action at this time.
0 commit comments