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