Drop deprecated KotlinPaths.getRuntimePath, use getStdlibPath instead
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
|
||||
// this script expected parameter num : Int
|
||||
|
||||
@file:DependsOn("@{runtime}")
|
||||
@file:DependsOn("@{kotlin-stdlib}")
|
||||
|
||||
fun fib(n: Int): Int {
|
||||
val v = if(n < 2) 1 else fib(n-1) + fib(n-2)
|
||||
|
||||
Reference in New Issue
Block a user