FIR: fix a bunch of issues after DiagnosticsReporter refactoring related to reporting diagnostic on null source

This commit is contained in:
Kirill Rakhman
2023-01-05 15:00:30 +01:00
committed by Space Team
parent a7edf5b83e
commit 69f2e8826a
27 changed files with 74 additions and 42 deletions
@@ -1,3 +1,6 @@
// IGNORE_BACKEND_K2: ANY
// accessing uninitialized parameter is illegal in FIR
fun f(
f1: () -> String = { f2() },
f2: () -> String = { "FAIL" }