Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
06ab8cc69e303e70578de24dd9a1cf4ebafff93a
/
.
/
compiler
/
testData
/
ir
/
sourceRanges
/
declarations
/
delegatedProperties.kt
blob: 109d42c502947454f2da5bd5513cf66837e536f4 [
file
]
// WITH_STDLIB
// ISSUE: KT-59864
import
kotlin
.
properties
.
Delegates
class
MyClass
{
val lazyProp
by
lazy
{
5
}
var
observableProp
:
String
by
Delegates
.
observable
(
"<none>"
)
{
prop
,
old
,
new
->
println
(
"Was $old, now $new"
)
}
}