FIR, Serialization: fix FirSerializationPluginClassChecker after DiagnosticsReporter refactoring related to reporting diagnostic on null source
This commit is contained in:
committed by
Space Team
parent
69f2e8826a
commit
1b016d0bce
+3
-1
@@ -248,7 +248,9 @@ object FirSerializationPluginClassChecker : FirClassChecker() {
|
||||
}
|
||||
|
||||
if (with(session) { classSymbol.serializableAnnotationIsUseless }) {
|
||||
reporter.reportOn(classSymbol.serializableOrMetaAnnotationSource, FirSerializationErrors.SERIALIZABLE_ANNOTATION_IGNORED)
|
||||
classSymbol.serializableOrMetaAnnotationSource?.let {
|
||||
reporter.reportOn(it, FirSerializationErrors.SERIALIZABLE_ANNOTATION_IGNORED)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user