From 908498a56043cbad910605847ab48ef5e426da6d Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Fri, 19 Jul 2019 12:32:45 +0200 Subject: [PATCH] JVM IR: deduplicate exception message text in FunctionCodegen See 37002748c84 --- .../org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt index e0b40713182..df867eb1755 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt @@ -41,7 +41,7 @@ open class FunctionCodegen( try { doGenerate() } catch (e: Throwable) { - throw RuntimeException("${e.message} while generating code for:\n${irFunction.dump()}", e) + throw RuntimeException("Exception while generating code for:\n${irFunction.dump()}", e) } private fun doGenerate(): JvmMethodGenericSignature {