blob: d2de38335839f035f1ee68d96e2d7346f33033d3 [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) {<caret> (x, y) -> 11 }
}