K2: report IR_WITH_UNSTABLE_ABI_COMPILED_CLASS
Also, remove setting the value of allowUnstableDependencies to true if K2 is used because we want K2 to report errors (as K1 does) on unstable-ABI dependencies. #KT-61598 Fixed
This commit is contained in:
committed by
Space Team
parent
6a1c210cd1
commit
4f96171716
+1
-1
@@ -29,7 +29,7 @@ object FirDiagnosticsCompilerResultsReporter {
|
||||
AnalyzerWithCompilerReport.reportSpecialErrors(
|
||||
diagnosticsCollector.diagnostics.any { it.factory == FirErrors.INCOMPATIBLE_CLASS },
|
||||
diagnosticsCollector.diagnostics.any { it.factory == FirErrors.PRE_RELEASE_CLASS },
|
||||
hasUnstableClasses = false, // TODO (KT-61598): report IR_WITH_UNSTABLE_ABI_COMPILED_CLASS
|
||||
diagnosticsCollector.diagnostics.any { it.factory == FirErrors.IR_WITH_UNSTABLE_ABI_COMPILED_CLASS },
|
||||
messageCollector,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user