[FE 1.0] Fix diagnostic message rendering for OVERRIDE_DEPRECATION

This commit is contained in:
Dmitriy Novozhilov
2021-09-07 11:46:31 +03:00
committed by TeamCityServer
parent 9844671ded
commit 9f4abd8ff7
3 changed files with 3 additions and 3 deletions
@@ -16,7 +16,7 @@ interface WithDeprecation {
}
class A : J(), WithDeprecation {
override fun <!OVERRIDE_DEPRECATION!>foo<!>() {}
override fun <!OVERRIDE_DEPRECATION("This deprecation won't be inherited in future releases. ")!>foo<!>() {}
}
fun main() {