[FIR2IR] Replace star projections with upper bounds for SAM conversion types
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// FULL_JDK
|
||||
// FILE: ConventionMapping.java
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
public class ConventionMapping {
|
||||
MappedProperty map(String propertyName, Callable<?> value) {
|
||||
return new MappedProperty();
|
||||
}
|
||||
|
||||
public static class MappedProperty {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: FileCollection.java
|
||||
|
||||
public class FileCollection {}
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
fun test(mapping: ConventionMapping, fn: () -> FileCollection) {
|
||||
mapping.map("classpath", fn)
|
||||
}
|
||||
|
||||
fun box(): String = "OK"
|
||||
Reference in New Issue
Block a user