blob: f655262a3c35fe40e999f10faa37424cacee8969 [file]
// 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"