Skip to content

Commit

Permalink
extractSelf convenience helper
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Dec 23, 2024
1 parent 9f7bcf9 commit 1b2cbe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 359 in distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala

View check run for this annotation

Codecov / codecov/patch

distage/distage-core-api/src/main/scala/izumi/distage/model/definition/dsl/AbstractBindingDefDSL.scala#L359

Added line #L359 was not covered by tests
}

Expand Down

0 comments on commit 1b2cbe8

Please sign in to comment.