[LL] Commit pending diagnostics from file checkers on script declarations

- In addition to file declarations and class members, we also need to
  commit pending diagnostics on declarations in scripts, to honor
  suppressions before the diagnostics are committed indiscriminately.

^KT-62899
This commit is contained in:
Marco Pennekamp
2023-11-09 16:36:55 +01:00
committed by Space Team
parent c482786bc4
commit dd219cb6e6
2 changed files with 11 additions and 6 deletions
@@ -1,4 +1,2 @@
// IGNORE_FIR
@Suppress("MUST_BE_INITIALIZED")
val foo: Int