Revert ""Code Cleanup": don't remove deprecated imports when file has @file:Suppress("DEPRECATION") annotation"
This reverts commit cf5a6274
This commit is contained in:
Vendored
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
package bar
|
||||
|
||||
interface I
|
||||
|
||||
@Deprecated("", ReplaceWith("I"))
|
||||
interface Bar : I
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
@file:Suppress("DEPRECATION")
|
||||
|
||||
package foo
|
||||
|
||||
import bar.Bar
|
||||
|
||||
fun foo(x: Bar) {}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
@file:Suppress("DEPRECATION")
|
||||
|
||||
package foo
|
||||
|
||||
import bar.Bar
|
||||
|
||||
fun foo(x: Bar) {}
|
||||
Reference in New Issue
Block a user