KT-306 Ambiguity when different this's have same-looking functions
Test added
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// KT-306 Ambiguity when different this's have same-looking functions
|
||||
|
||||
fun test() {
|
||||
{Foo.() =>
|
||||
bar()
|
||||
{Barr.() =>
|
||||
this.bar()
|
||||
bar()
|
||||
}
|
||||
}
|
||||
{Barr.() =>
|
||||
bar()
|
||||
}
|
||||
}
|
||||
|
||||
class Foo {
|
||||
fun bar() {}
|
||||
}
|
||||
|
||||
class Barr {
|
||||
fun bar() {}
|
||||
}
|
||||
Reference in New Issue
Block a user