Allow using kotlin.Result as a return type in stdlib

This commit is contained in:
Mikhail Zarechenskiy
2018-09-11 02:29:11 +03:00
parent 7b70c1a2d9
commit 106ecadd62
3 changed files with 7 additions and 2 deletions
+4 -2
View File
@@ -59,7 +59,8 @@ compileKotlinCommon {
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
"-XXLanguage:+InlineClasses",
"-XXLanguage:+ReleaseCoroutines",
"-Xallow-kotlin-package"
"-Xallow-kotlin-package",
"-Xallow-result-return-type"
]
}
}
@@ -72,7 +73,8 @@ compileCoroutinesKotlinCommon {
"-module-name", project.name+"-coroutines",
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
"-XXLanguage:-ReleaseCoroutines",
"-Xallow-kotlin-package"
"-Xallow-kotlin-package",
"-Xallow-result-return-type"
]
}
}