3d8d92c7d3
- test data files renamed from *.jet to *.kt
23 lines
354 B
Kotlin
23 lines
354 B
Kotlin
// KT-306 Ambiguity when different this's have same-looking functions
|
|
|
|
fun test() {
|
|
<!UNUSED_FUNCTION_LITERAL!>{Foo.() ->
|
|
bar();
|
|
{Barr.() ->
|
|
this.bar()
|
|
bar()
|
|
}
|
|
}<!>
|
|
<!UNUSED_FUNCTION_LITERAL!>{Barr.() ->
|
|
bar()
|
|
}<!>
|
|
}
|
|
|
|
class Foo {
|
|
fun bar() {}
|
|
}
|
|
|
|
class Barr {
|
|
fun bar() {}
|
|
}
|