FE tests: don't render text of disabled diagnostics

This commit is contained in:
Mikhail Glukhikh
2024-01-02 13:57:48 +01:00
committed by Space Team
parent e1b7b0e768
commit 8a560d2629
18 changed files with 13 additions and 101 deletions
@@ -4,21 +4,13 @@
/labelClashes.kt:11:13: warning: this label is now resolved to 'function bar' but soon it will be resolved to the closest 'anonymous function'. Please consider introducing or changing explicit label name
this@bar.inc()
^
/labelClashes.kt:15:9: warning: parameter 'f' is never used
fun foo(f: with.() -> Unit) {}
^
/labelClashes.kt:20:17: warning: this label is now resolved to 'class with' but soon it will be resolved to the closest 'anonymous function'. Please consider introducing or changing explicit label name
this@with.foo()
^
/labelClashes.kt:24:17: warning: this label is now resolved to 'class with' but soon it will be resolved to the closest 'anonymous function'. Please consider introducing or changing explicit label name
this@with.foo()
^
/labelClashes.kt:37:9: warning: the expression is unused
this@TypedThis
^
/labelClashes.kt:37:13: warning: this label is now resolved to 'class TypedThis' but soon it will be resolved to the closest 'function baz extension receiver'. Please consider introducing or changing explicit label name
this@TypedThis
^
/labelClashes.kt:41:9: warning: the expression is unused
this@TypedThis
^
@@ -1,12 +1,6 @@
/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
^