raulraja
06/26/2019, 12:03 PMNoValueForParameter
similar to how it was done in the KEEP https://github.com/arrow-kt/kotlin/pull/6/files#diff-792252e1fcae31609d7348297b7c45f4R46 ?raulraja
06/28/2019, 2:23 AMfun CallCheckerContext.suppressDiagnostic(f: (Diagnostic) -> Boolean): Unit {
(trace.bindingContext.diagnostics as? MutableDiagnosticsWithSuppression)?.let {
val diagnosticList = it.getOwnDiagnostics() as ArrayList<Diagnostic>
diagnosticList.removeIf(f)
}
}
Which allow me on this use case to mutate the diagnostics before they are considered