Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
overload
/
kt1998.kt
blob: c659fdabe4727bd5a78d78e0c02679be89aaea34 [
file
]
// FIR_IDENTICAL
// KT-1998 Strange "Overload resolution ambiguity"
object
A
{
val c
:
String
=
"test"
fun f
(
b
:
B
):
String
{
return
b
.
c
// Test no "Overload resolution ambiguity" is reported here
}
}
class
B
val B
.
c
:
String
get
()
=
"test"