Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
specifyExplicitLambdaSignature
/
destructuring.kt
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
}
}