Fix inline codegen tests after regroup and rename
This commit is contained in:
committed by
Alexander Udalov
parent
f7958edf21
commit
25cebe03e9
@@ -19,7 +19,7 @@ fun box(): String {
|
||||
if (enclosingMethod?.name != "invoke") return "fail 1: ${enclosingMethod?.name}"
|
||||
|
||||
var enclosingClass = res.javaClass.enclosingClass
|
||||
if (enclosingClass?.name != "InlineChain2_1Kt\$box$\$inlined\$call$1") return "fail 2: ${enclosingClass?.name}"
|
||||
if (enclosingClass?.name != "_2Kt\$box$\$inlined\$call$1") return "fail 2: ${enclosingClass?.name}"
|
||||
|
||||
val res2 = call {
|
||||
call {
|
||||
@@ -31,7 +31,7 @@ fun box(): String {
|
||||
if (enclosingMethod?.name != "invoke") return "fail 1: ${enclosingMethod?.name}"
|
||||
|
||||
enclosingClass = res2.javaClass.enclosingClass
|
||||
if (enclosingClass?.name != "InlineChain2_1Kt\$box$\$inlined\$call\$lambda\$lambda$2") return "fail 2: ${enclosingClass?.name}"
|
||||
if (enclosingClass?.name != "_2Kt\$box$\$inlined\$call\$lambda\$lambda$2") return "fail 2: ${enclosingClass?.name}"
|
||||
|
||||
return res2()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user