Skip to content

Commit 0c77d87

Browse files
authored
Merge pull request #53 from rcardin/52-remove-context-receivers-from-abstractraiseassert-class
fix(52): Removed the use of context receivers
2 parents 4e051e3 + 520d0ac commit 0c77d87

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)