blob: 5ab255f5f8104e1c3dbe7f344363a126d7094fbb [file] [log] [blame]
data class Declaration(val x: Int, val y: Int) {
fun lambdaType(p: Declaration, f: (Declaration) -> Int) = f(p)
}
fun call(declaration: Declaration) {
declaration.lambdaType(declaration) { (x, y): Declaration -> 11 }
}