Effects: annotate functions in stdlib with contracts
build.xml was also changed to incorporate contracts in mock-runtime-for-tests.jar, because it is using Standard.kt, which, in turn, has contract-annotated functions. ========== Introduction of EffectSystem: 17/18
This commit is contained in:
@@ -36,7 +36,9 @@ val copySources by task<Copy> {
|
||||
.include("kotlin/collections/TypeAliases.kt",
|
||||
"kotlin/jvm/JvmVersion.kt",
|
||||
"kotlin/util/Standard.kt",
|
||||
"kotlin/internal/Annotations.kt")
|
||||
"kotlin/internal/Annotations.kt",
|
||||
"kotlin/internal/contracts/ContractBuilder.kt",
|
||||
"kotlin/internal/contracts/Effect.kt")
|
||||
into(File(buildDir, "src"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user