File tree Expand file tree Collapse file tree
distage/distage-core-api/src/main/scala-3/izumi/distage/reflection/macros Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ import izumi.distage.model.providers.Functoid
55import scala .annotation .targetName
66import scala .language .implicitConversions
77
8- type AnyFunction [+ R ] = (AnyRef {def tupled : Product => R }) | Function0 [R ] | Function1 [? , R ]
8+ type AnyFunction [+ R ] = (AnyRef {def tupled : ( ? <: Product ) => R }) | Function0 [R ] | Function1 [? , R ]
99
1010trait FunctoidMacroMethods extends ByNameConversion {
1111 import FunctoidMacro .make
1212
13- inline implicit def apply [R ](inline fun : (AnyRef {def tupled : (? <: Product ) => R }) | Function0 [R ] | Function1 [? , R ]): Functoid [R ] = make[R ](fun)
13+ // inline implicit def apply[R](inline fun: (AnyRef {def tupled: (? <: Product) => R}) | Function0[R] | Function1[?, R]): Functoid[R] = make[R](fun)
14+ inline implicit def apply [R ](inline fun : AnyFunction [R ]): Functoid [R ] = make[R ](fun)
1415
1516 // 23 to 32
1617 @ targetName(" apply23" )
You can’t perform that action at this time.
0 commit comments