Specify lambda signature: handle special parameters correctly
So #KT-17372 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Declaration {
|
||||
fun lambdaType(p: Int, f: (Int) -> Int) = f(p)
|
||||
}
|
||||
|
||||
fun call(declaration: Declaration) {
|
||||
declaration.lambdaType(10) { _: Int -> 11 }
|
||||
}
|
||||
Reference in New Issue
Block a user