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
@@ -0,0 +1,13 @@
/labelClashesWithContextReceivers.kt:8:9: warning: the expression is unused
this@Some
^
/labelClashesWithContextReceivers.kt:8:13: warning: this label is now resolved to 'class Some' but soon it will be resolved to the closest 'function foo context receiver'. Please consider introducing or changing explicit label name
this@Some
^
/labelClashesWithContextReceivers.kt:9:9: warning: the expression is unused
this@String
^
/labelClashesWithContextReceivers.kt:14:21: warning: this label is now resolved to 'class Some' but soon it will be resolved to the closest 'property self context receiver'. Please consider introducing or changing explicit label name
get() = this@Some
^