K2 Scripting: allow script top level inline functions

This commit is contained in:
Ilya Chernikov
2023-05-25 16:37:44 +02:00
committed by Space Team
parent 86b3e65d19
commit 7484ccb9ee
5 changed files with 18 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_K2: JVM_IR
// expected: rv: 2
inline fun foo(l: (Int) -> Int ): Int {