Implement -howtorun option for kotlin runner
Implement -no-stdlib argument support in kotlin runner #KT-43534 fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@file:CompilerOptions("-Xallow-result-return-type")
|
||||
|
||||
fun f() : Result<Int> = Result.success(42)
|
||||
|
||||
println(f().getOrNull())
|
||||
Reference in New Issue
Block a user