JVM IR: deduplicate exception message text in FunctionCodegen

See 37002748c8
This commit is contained in:
Alexander Udalov
2019-07-19 12:32:45 +02:00
parent 5f06c9e86c
commit 908498a560
@@ -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 {