[FIR] Partial implementation of DEPRECATION(_ERROR) diagnostics
No support for inheritance deprecations and deprecations in qualifier's parts
This commit is contained in:
committed by
teamcityserver
parent
9fad55d551
commit
de3f31cf78
+2
-2
@@ -3,6 +3,6 @@
|
||||
@Deprecated("error", level = DeprecationLevel.ERROR)
|
||||
class Foo @Deprecated("warning", level = DeprecationLevel.WARNING) constructor()
|
||||
|
||||
fun test1() = Foo()
|
||||
fun test1() = <!DEPRECATION_ERROR!>Foo<!>()
|
||||
|
||||
fun test2(): Foo = Foo()
|
||||
fun test2(): <!DEPRECATION_ERROR!>Foo<!> = <!DEPRECATION_ERROR!>Foo<!>()
|
||||
|
||||
Reference in New Issue
Block a user