[FIR] Implement suppressing diagnostics with @Suppress

This commit is contained in:
Dmitriy Novozhilov
2021-02-01 18:34:03 +03:00
parent 459a2886a0
commit ebced14db2
20 changed files with 376 additions and 43 deletions
@@ -83,6 +83,8 @@ object StandardClassIds {
fun FunctionN(n: Int): ClassId {
return "Function$n".baseId()
}
val Suppress = "Suppress".baseId()
}
private fun <K, V> Map<K, V>.inverseMap() = entries.associate { (k, v) -> v to k }