[FE] Report ambiguity when label can refer to multiple receivers
This commit is contained in:
committed by
TeamCityServer
parent
fd7d000138
commit
ac27fda965
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
fun List<Int>.f() {
|
||||
this<!UNRESOLVED_LABEL!>@List<!>.size
|
||||
}
|
||||
|
||||
context(String)
|
||||
fun Int.f() {
|
||||
this<!UNRESOLVED_LABEL!>@String<!>.length
|
||||
this<!UNRESOLVED_LABEL!>@Int<!>.toDouble()
|
||||
}
|
||||
|
||||
context(String)
|
||||
val p: String get() = this<!UNRESOLVED_LABEL!>@String<!>
|
||||
Reference in New Issue
Block a user