Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
resolve
/
kt36264.kt
blob: 97a1951cf6c6032a0ed3e0b09bb16936937358fe [
file
]
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER
interface
A
class
B
:
A
val
String
.
ext
:
A
get
()
=
TODO
()
class
Cls
{
fun take
(
arg
:
B
)
{}
fun test
(
s
:
String
)
{
if
(
s
.
ext
is
B
)
take
(
s
.
ext
)
}
}
fun take
(
arg
:
Any
)
{}