We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f2f53e commit 3ff1180Copy full SHA for 3ff1180
core/shared/src/main/scala-3.x/monocle/internal/focus/features/as/AsGenerator.scala
@@ -2,18 +2,18 @@ package monocle.internal.focus.features.as
2
3
import monocle.Prism
4
import monocle.internal.focus.FocusBase
5
-import monocle.syntax.AsPrism
+import monocle.syntax.AsPrismImpl
6
7
private[focus] trait AsGenerator {
8
- this: FocusBase =>
+ this: FocusBase =>
9
10
import macroContext.reflect._
11
12
def generateAs(action: FocusAction.KeywordAs): Term = {
13
import action.{fromType, toType}
14
15
(fromType.asType, toType.asType) match {
16
- case ('[f], '[t]) => '{ AsPrism[f, t] }.asTerm
+ case ('[f], '[t]) => AsPrismImpl[f, t].asTerm
17
}
18
19
0 commit comments