[K/JS] Add useEsClasses to list of compiler arguments that invalidate IC cache ^KT-61795 Fixed

This commit is contained in:
Artem Kobzar
2023-09-13 09:50:24 +00:00
committed by Space Team
parent 274d7ba47d
commit 2578bfefd5
11 changed files with 12 additions and 19 deletions
@@ -132,6 +132,7 @@ abstract class AbstractInvalidationTest(
copy.put(JSConfigurationKeys.MODULE_KIND, moduleKind)
copy.put(JSConfigurationKeys.PROPERTY_LAZY_INITIALIZATION, true)
copy.put(JSConfigurationKeys.SOURCE_MAP, true)
copy.put(JSConfigurationKeys.USE_ES6_CLASSES, targetBackend == TargetBackend.JS_IR_ES6)
copy.languageVersionSettings = with(LanguageVersionSettingsBuilder()) {
language.forEach {
@@ -370,7 +371,6 @@ abstract class AbstractInvalidationTest(
granularity,
getPhaseConfig(projStep.id),
setOf(FqName(BOX_FUNCTION_NAME)),
targetBackend == TargetBackend.JS_IR_ES6
)
}
)