Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9ca5f9c66ebdb7e907ed23a75ccf71e119b6392c
/
.
/
idea
/
testData
/
quickfix
/
deprecatedSymbolUsage
/
propertyAssignmentNoReceiver.kt
blob: 459ee71620d0b57c100cf195116e017d06e124a3 [
file
] [
log
] [
blame
]
// "Replace with 'new'" "true"
// WITH_RUNTIME
class
A
{
@Deprecated
(
"msg"
,
ReplaceWith
(
"new"
))
var
old
get
()
=
new
set
(
value
)
{
new
=
value
}
var
new
=
""
}
fun foo
()
{
val a
=
A
()
a
.
apply
{
<caret>
old
=
"foo"
}
}