[K2] Don't crash compiler if receiver on property wasn't evaluated

Compilation crash must be handled separately in
`convertToConstantValues` method because we still want successfully
compile common code. All constants will be evaluated later on
fir2ir phase.

#KT-59362 Fixed
This commit is contained in:
Ivan Kylchik
2023-06-23 18:54:27 +02:00
committed by Space Team
parent 8dab53f58a
commit fba0bd79ad
4 changed files with 24 additions and 17 deletions
+3 -1
View File
@@ -4,4 +4,6 @@ $TESTDATA_DIR$/kt58139/platform.kt
-language-version
2.0
-d
$TEMP_DIR$
$TEMP_DIR$
-cp
$TESTDATA_DIR$/../../../../dist/common/kotlin-stdlib-common.jar