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() {
<!NO_THIS!>this@foo<!>
//this@foo
this<!LABEL_RESOLVE_WILL_CHANGE("class Some; function foo context receiver")!>@Some<!>
this@String
}