[FIR][LightTree] Better expression identification
And some refactoring Regenerate IDE parts
This commit is contained in:
committed by
TeamCityServer
parent
2f7d6da22f
commit
5fc1514104
+1
-1
@@ -759,7 +759,7 @@ sealed class KtFirDiagnostic<PSI: PsiElement> : KtDiagnosticWithPsi<PSI> {
|
||||
override val diagnosticClass get() = CyclicGenericUpperBound::class
|
||||
}
|
||||
|
||||
abstract class DeprecatedTypeParameterSyntax : KtFirDiagnostic<KtTypeParameterList>() {
|
||||
abstract class DeprecatedTypeParameterSyntax : KtFirDiagnostic<KtDeclaration>() {
|
||||
override val diagnosticClass get() = DeprecatedTypeParameterSyntax::class
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1228,7 +1228,7 @@ internal class CyclicGenericUpperBoundImpl(
|
||||
internal class DeprecatedTypeParameterSyntaxImpl(
|
||||
firDiagnostic: FirPsiDiagnostic<*>,
|
||||
override val token: ValidityToken,
|
||||
) : KtFirDiagnostic.DeprecatedTypeParameterSyntax(), KtAbstractFirDiagnostic<KtTypeParameterList> {
|
||||
) : KtFirDiagnostic.DeprecatedTypeParameterSyntax(), KtAbstractFirDiagnostic<KtDeclaration> {
|
||||
override val firDiagnostic: FirPsiDiagnostic<*> by weakRef(firDiagnostic)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user