Skip to content

Commit 520d0ac

Browse files
committed
fix(52): Removed the use of context receivers
1 parent 4e051e3 commit 520d0ac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/kotlin/in/rcard/assertj/arrowcore/AbstractRaiseAssert.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ abstract class AbstractRaiseAssert<
2525
ERROR : Any,
2626
VALUE : Any,
2727
> internal constructor(
28-
lambda: context(Raise<ERROR>)
29-
() -> VALUE,
28+
lambda: Raise<ERROR>.() -> VALUE,
3029
) : AbstractAssert<
3130
SELF,
32-
context(Raise<ERROR>)
33-
() -> VALUE,
31+
Raise<ERROR>.() -> VALUE,
3432
>(lambda, AbstractRaiseAssert::class.java) {
3533
private val comparisonStrategy: ComparisonStrategy = StandardComparisonStrategy.instance()
3634

0 commit comments

Comments
 (0)