Fixed generating method calls from same module when inlining.

This commit is contained in:
Evgeny Gerashchenko
2014-07-10 17:26:40 +04:00
parent 6f1bdd1227
commit 708816f09c
9 changed files with 111 additions and 61 deletions

View File

@@ -0,0 +1,7 @@
fun foo() {
assert(1 == 1) { "Hahaha" }
}
// assert function will be inlined, and we assure that there are no calls via package part, but is call via package facade in inlined code
// 0 INVOKESTATIC kotlin\/KotlinPackage-[^-]+-[^-]+.getASSERTIONS_ENABLED \(\)Z
// 1 INVOKESTATIC kotlin\/KotlinPackage.getASSERTIONS_ENABLED \(\)Z