File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import org.jetbrains.kotlin.fir.types.builder.buildErrorTypeRef
34
34
import org.jetbrains.kotlin.fir.types.builder.buildResolvedTypeRef
35
35
import org.jetbrains.kotlin.fir.types.impl.ConeTypeParameterTypeImpl
36
36
import org.jetbrains.kotlin.name.SpecialNames.SELF_TYPE
37
+ import org.jetbrains.kotlin.name.StandardClassIds
37
38
import org.jetbrains.kotlin.types.Variance
38
39
39
40
class FirTypeResolveProcessor (
@@ -247,7 +248,7 @@ open class FirTypeResolveTransformer(
247
248
withScopeCleanup {
248
249
firClass.transformAnnotations(this , null )
249
250
250
- val isSelf = firClass.annotations.any { it.classId == StandardClassIds .Annotations .Self }
251
+ val isSelf = firClass.hasAnnotation( StandardClassIds .Annotations .Self )
251
252
252
253
val params = firClass.typeParameters
253
254
if (params is MutableList && isSelf) {
You can’t perform that action at this time.
0 commit comments