minor: rename depends annotation in script tests, add it to implicit imports
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
|
||||
// this script expected parameter num : Int
|
||||
|
||||
@file:org.jetbrains.kotlin.scripts.depends("@{runtime}")
|
||||
@file:DependsOn("@{runtime}")
|
||||
|
||||
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