Adapt ScriptCodegenTests to last changes

Get rid of possibility to configure script definition without template
class, therefore all tests now are using default script argument
This commit is contained in:
Mikhail Zarechenskiy
2016-09-12 17:25:31 +03:00
parent f8774be8c3
commit 7739677a06
5 changed files with 19 additions and 49 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// param: x: kotlin.Int: 10
// param: 10
fun addX(y: Int) = x + y
fun addX(y: Int) = java.lang.Integer.parseInt(args[0]) + y
val rv = addX(3)