[LL FIR] add missed diagnostic tests for scripts

^KT-62840
^KT-62841
^KT-62861
This commit is contained in:
Dmitrii Gridin
2023-10-23 18:42:23 +02:00
committed by Space Team
parent 8e623ee73a
commit 2f8026f335
15 changed files with 1387 additions and 770 deletions
@@ -1,4 +1,7 @@
// !WITH_NEW_INFERENCE
// IGNORE_REVERSED_RESOLVE
// IGNORE_DIAGNOSTIC_API
// KT-62840
val (a1, a2) = A()
val (b1: Int, b2: Int) = <!COMPONENT_FUNCTION_RETURN_TYPE_MISMATCH!>A()<!>
val (c1) = <!UNRESOLVED_REFERENCE!>unresolved<!>