K2 Scripting: turn on implicit body resolve for scripts

This commit is contained in:
Ilya Chernikov
2023-06-09 12:40:08 +02:00
committed by Space Team
parent 1a735b0842
commit 00211a5fc9
2 changed files with 1 additions and 2 deletions
@@ -1,6 +1,6 @@
// !WITH_NEW_INFERENCE
val (a1, a2) = A()
val (b1: Int, b2: Int) = A()
val (b1: Int, b2: Int) = <!COMPONENT_FUNCTION_RETURN_TYPE_MISMATCH!>A()<!>
val (c1) = <!COMPONENT_FUNCTION_MISSING, UNRESOLVED_REFERENCE!>unresolved<!>
<!WRONG_MODIFIER_TARGET!>private<!> val (d1) = A()