Fix inheritance in stdlib contracts code (KT-26409)

This commit is contained in:
victor.petukhov
2018-09-11 14:19:10 +03:00
parent cba99a1e67
commit 50d9dbbfc1
9 changed files with 50 additions and 49 deletions
@@ -7,6 +7,9 @@ package kotlin.contracts
import kotlin.internal.ContractsDsl
/**
* Abstract effect, the inheritors of which are used in [ContractBuilder] to describe the contract function.
*/
@ContractsDsl
@ExperimentalContracts
@SinceKotlin("1.3")
@@ -29,7 +32,7 @@ public interface ConditionalEffect : Effect
@ContractsDsl
@ExperimentalContracts
@SinceKotlin("1.3")
public interface SimpleEffect {
public interface SimpleEffect : Effect {
/**
* The function to specify an additional condition for some `SimpleEffect`.
*
@@ -71,4 +74,4 @@ public interface ReturnsNotNull : SimpleEffect
@ContractsDsl
@ExperimentalContracts
@SinceKotlin("1.3")
public interface CallsInPlace : SimpleEffect
public interface CallsInPlace : Effect