106ee1d1ff
In the old backend, BindingContextSuppressCache is used (which is now created explicitly in GenerationState), which looks up `@Suppress` annotations on elements right before reporting the diagnostic. In JVM IR, we clear the binding context after psi2ir, so this approach doesn't work. This change provides another implementation of KotlinSuppressCache which eagerly precomputes all suppressions on all annotated elements in all source files at the point of creation of GenerationState (when the binding context is still full). #KT-43047 Fixed