Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
idea
/
testData
/
refactoring
/
introduceParameter
/
substituteDelegationCallsNoTempVar.kt
blob: aef15a8a8c9eeb6458896570dcec0decbfd92de2 [
file
] [
log
] [
blame
]
// WITH_DEFAULT_VALUE: false
class
T
(
val t
:
Int
)
open
class
A
{
constructor
():
this
(
1
)
constructor
(
a
:
Int
)
{
val x
=
<selection>
T
(
a
+
1
)<
/selection>.t /
2
}
}
class
B
:
A
{
constructor
(
n
:
Int
):
super
(
n
+
1
)
}
class
C
:
A
(
1
)
{
}
fun test
()
{
A
(
2
)
}