Add script codegen tests with package statements
Tests codegen annotating visitor
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package script
|
||||
|
||||
fun f(j: Int): Int {
|
||||
fun g(i: Int) = i * i *j
|
||||
|
||||
return g(g(j))
|
||||
}
|
||||
|
||||
val rv = f(2)
|
||||
|
||||
// expected: rv: 128
|
||||
Reference in New Issue
Block a user