[FIR] optimize deprecation calculation for symbols
All symbols except member callables can be deprecated if they have non-empty annotation list ^KT-56800 fixed
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
// WITH_STDLIB
|
||||
|
||||
annotation class AllOpen
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
//FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.CompanionWithFoo
|
||||
|
||||
@CompanionWithFoo
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
|
||||
import org.jetbrains.kotlin.fir.plugin.NestedClassAndMaterializeMember
|
||||
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
// DUMP_IR
|
||||
package bar
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
|
||||
package foo
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.CoreSerializer
|
||||
import org.jetbrains.kotlin.fir.plugin.MySerializable
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
package foo
|
||||
|
||||
import org.jetbrains.kotlin.fir.plugin.DummyFunction
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.CompanionWithFoo
|
||||
|
||||
@CompanionWithFoo
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.NestedClassAndMaterializeMember
|
||||
|
||||
@NestedClassAndMaterializeMember
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
package bar
|
||||
|
||||
import foo.AllOpenGenerated
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
package foo
|
||||
|
||||
import org.jetbrains.kotlin.fir.plugin.DummyFunction
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.AllOpen
|
||||
|
||||
@AllOpen
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
import org.jetbrains.kotlin.fir.plugin.AllPublic
|
||||
import org.jetbrains.kotlin.fir.plugin.Visibility
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
package foo
|
||||
|
||||
import org.jetbrains.kotlin.fir.plugin.MyInterfaceSupertype
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
package foo
|
||||
|
||||
import org.jetbrains.kotlin.fir.plugin.SupertypeWithTypeArgument
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
annotation class NoArg
|
||||
|
||||
class Outer {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
annotation class NoArg
|
||||
|
||||
class Outer {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
||||
annotation class NoArg
|
||||
|
||||
open class Base(val s: String)
|
||||
|
||||
Reference in New Issue
Block a user