minor: rename depends annotation in script tests, add it to implicit imports

This commit is contained in:
Ilya Chernikov
2016-06-29 12:17:29 +02:00
parent 2ca4d635ea
commit 4cd8101bad
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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)