JVM: enable -Xlambdas=class in some codegen tests
Most of these tests check the specific structure of lambdas when they are generated as classes, and they start to fail once invokedynamic lambdas are enabled by default.
This commit is contained in:
committed by
Space Team
parent
163afc94bc
commit
cd9209a7ee
+2
-1
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
|
||||
// LAMBDAS: CLASS
|
||||
|
||||
class Host {
|
||||
private companion object {
|
||||
@@ -8,4 +9,4 @@ class Host {
|
||||
fun test() = { foo() }
|
||||
}
|
||||
|
||||
// 1 synthetic access\$
|
||||
// 1 synthetic access\$
|
||||
|
||||
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
|
||||
|
||||
// LAMBDAS: CLASS
|
||||
// FILE: Base.kt
|
||||
package a
|
||||
|
||||
@@ -17,4 +17,4 @@ class Host : Base() {
|
||||
}
|
||||
|
||||
// @Host.class:
|
||||
// 1 synthetic access\$
|
||||
// 1 synthetic access\$
|
||||
|
||||
Reference in New Issue
Block a user