Implement -howtorun option for kotlin runner

Implement -no-stdlib argument support in kotlin runner

#KT-43534 fixed
This commit is contained in:
Ilya Chernikov
2021-01-04 19:33:26 +01:00
parent edc730f70b
commit 979144157f
4 changed files with 164 additions and 66 deletions
@@ -0,0 +1,5 @@
@file:CompilerOptions("-Xallow-result-return-type")
fun f() : Result<Int> = Result.success(42)
println(f().getOrNull())