Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
scopes
/
stopResolutionOnAmbiguity.kt
blob: c7b2321c37f671c604f1a9aec806fa6fd64998ae [
file
]
package
c
interface
B
{
fun bar
()
{}
}
class
C
()
{
fun bar
()
{
}
}
fun test
(
a
:
Any
?)
{
if
(
a
is
B
)
{
if
(<!
USELESS_IS_CHECK
!>
a
is
C
<!>)
{
<!
DEBUG_INFO_SMARTCAST
!>
a
<!>.
bar
();
}
}
}
fun
Any
?.
bar
()
{}