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
+2
View File
@@ -178,6 +178,7 @@ compileKotlin {
freeCompilerArgs = [
"-version",
"-Xallow-kotlin-package",
"-Xallow-result-return-type",
"-Xmultifile-parts-inherit",
"-Xnormalize-constructor-calls=enable",
"-module-name", "kotlin-stdlib",
@@ -213,6 +214,7 @@ compileCoroutinesKotlin {
freeCompilerArgs = [
"-version",
"-Xallow-kotlin-package",
"-Xallow-result-return-type",
"-Xmultifile-parts-inherit",
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
"-XXLanguage:-ReleaseCoroutines",