Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
replaceExplicitFunctionLiteralParamWithIt
/
notApplicable_nestedLiterals.kt
blob: ce4df756636d952cc3825822d2acd2f3d194971e [
file
] [
log
] [
blame
]
// IS_APPLICABLE: false
inline
fun
<
T
,
R
>
T
.
let
(
block
:
(
T
)
->
R
):
R
=
block
(
this
)
fun foo
(
arg
:
Any
?):
Int
?
{
return
arg
?.
let
{
<caret>
x
->
x
.
toString
().
let
{
x
.
hashCode
()
+
it
.
hashCode
()
}
}
}