File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/reference/contextual Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ from the signature. The body of the `derived` method is shown below:
4444given derived [T : Type ](using qctx : QuoteContext ) as Expr [Eq [T ]] = {
4545 import qctx .reflect ._
4646
47- val ev : Expr [Mirror .Of [T ]] = Expr .summon( using Type .of [Mirror .Of [T ]]) .get
47+ val ev : Expr [Mirror .Of [T ]] = Expr .summon[Mirror .Of [T ]].get
4848
4949 ev match {
5050 case ' { $m : Mirror .ProductOf [T ] { type MirroredElemTypes = elementTypes }} =>
@@ -179,7 +179,7 @@ object Eq {
179179 given derived [T : Type ](using qctx : QuoteContext ) as Expr [Eq [T ]] = {
180180 import qctx .reflect ._
181181
182- val ev : Expr [Mirror .Of [T ]] = Expr .summon( using Type .of [Mirror .Of [T ]]) .get
182+ val ev : Expr [Mirror .Of [T ]] = Expr .summon[Mirror .Of [T ]].get
183183
184184 ev match {
185185 case ' { $m : Mirror .ProductOf [T ] { type MirroredElemTypes = elementTypes }} =>
You can’t perform that action at this time.
0 commit comments