Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
delegatedProperty
/
inTrait.fir.kt
blob: c25a435f22d605e378864456f403243182ef91dd [
file
]
// DIAGNOSTICS: -UNUSED_PARAMETER
import
kotlin
.
reflect
.
KProperty
interface
T
{
val a
:
Int
by
<!
DELEGATED_PROPERTY_IN_INTERFACE
!>
Delegate
()<!>
}
class
Delegate
{
operator
fun getValue
(
t
:
Any
?,
p
:
KProperty
<*>):
Int
{
return
1
}
}