提交 1f5666e0 编写于 作者: S Stepan Koltsov

more tests in ScriptGenTest

上级 872f0830
val x = 12
fun foo(y: Int) = x + y
foo(33)
// expected: 45
......@@ -42,6 +42,10 @@ public class ScriptGenTest extends CodegenTestCase {
// TODO: check function is visible as instance field (it is currently not)
}
public void testTopLevelFunctionClosure() {
blackBoxFile("script/topLevelFunctionClosure.ktscript");
}
public void testScriptParameter() {
blackBoxFile("script/parameter.ktscript");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册