Minor: add diag.txt file for label clashes diagnostic tests

This commit is contained in:
Mikhail Glukhikh
2022-03-09 09:23:54 +03:00
committed by Space
parent d30536addc
commit 8c7a8edb75
6 changed files with 45 additions and 2 deletions
@@ -1,9 +1,10 @@
// !LANGUAGE: +ContextReceivers
// !RENDER_DIAGNOSTICS_FULL_TEXT
class Some {
context(Some, String)
fun foo() {
this<!UNRESOLVED_LABEL!>@foo<!>
//this@foo
this@Some
this<!UNRESOLVED_LABEL!>@String<!>
}