Temporary disable assertion

Relates to #KT-37702
This commit is contained in:
Vladimir Dolzhenko
2021-03-03 14:15:50 +01:00
parent 9f77c68f17
commit 72322646cc
@@ -48,7 +48,8 @@ class MutableDiagnosticsWithSuppression(
override fun noSuppression() = readonlyView().noSuppression()
override fun setCallback(callback: DiagnosticSink.DiagnosticsCallback) {
assert(diagnosticsCallback == null) { "diagnostic callback has been already registered" }
// TODO: [VD] temporary dirty patch, proper investigation is required
// assert(diagnosticsCallback == null) { "diagnostic callback has been already registered" }
diagnosticsCallback = callback
delegateDiagnostics.setCallback(callback)
}