[FE] Report ambiguity when label can refer to multiple receivers

This commit is contained in:
Anastasiya Shadrina
2021-11-07 19:31:35 +07:00
committed by TeamCityServer
parent fd7d000138
commit ac27fda965
18 changed files with 164 additions and 39 deletions
@@ -1,3 +1,4 @@
// !LANGUAGE: +ContextReceivers
// WITH_RUNTIME
fun List<Int>.decimateEveryEvenThird() = <!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>sequence<!> {
@@ -1,3 +1,4 @@
// !LANGUAGE: +ContextReceivers
// WITH_RUNTIME
fun List<Int>.decimateEveryEvenThird() = sequence {