diff --git a/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala b/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala index a93e378be7..0212ed3616 100644 --- a/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala +++ b/distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala @@ -355,7 +355,7 @@ object AbstractBindingDefDSL { addOp(SubcontextInstruction.SetExtractor(f))(toSame) } - final def extractSelf: Self = { + final def extractSelf(implicit t: Tag[T]): Self = { addOp(SubcontextInstruction.SetExtractor(Functoid.identity[T]))(toSame) }