Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
refactoring
/
introduceProperty
/
extractLazyWithBlock.kt
blob: 8d498b6ceafdca9a1203b33e1f0c24ce69b249f6 [
file
] [
log
] [
blame
]
// WITH_RUNTIME
// EXTRACTION_TARGET: lazy property
class
A
(
val n
:
Int
=
1
)
{
val m
:
Int
=
2
fun foo
():
Int
{
return
if
(
n
>
1
)
<selection>
{
println
(
n
)
m
+
n
+
1
}</
selection
>
else
0
}
}