diff --git a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/JsClassGenerator.kt b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/JsClassGenerator.kt index 5b0b6fe357d..e8adcbbf38b 100644 --- a/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/JsClassGenerator.kt +++ b/compiler/ir/backend.js/src/org/jetbrains/kotlin/ir/backend/js/transformers/irToJs/JsClassGenerator.kt @@ -55,7 +55,7 @@ class JsClassGenerator(private val irClass: IrClass, val context: JsGenerationCo is IrField -> { } else -> { - error("Unexpected declaration in class: $declaration") + error("Unexpected declaration in class: ${declaration.descriptor}") } } }