JVM: enable -Xlambdas=class for some backend tests
These tests are checking the specifics of the class-generated lambdas.
This commit is contained in:
committed by
Space Team
parent
834ba397ad
commit
d757847ed6
@@ -1,3 +1,5 @@
|
||||
// LAMBDAS: CLASS
|
||||
|
||||
public fun <T> Iterable<T>.myforEach(operation: (T) -> Unit) : Unit {
|
||||
for (element in this) operation(element)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user