JVM IR: deduplicate exception message text in FunctionCodegen
See 37002748c8
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ open class FunctionCodegen(
|
|||||||
try {
|
try {
|
||||||
doGenerate()
|
doGenerate()
|
||||||
} catch (e: Throwable) {
|
} 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 {
|
private fun doGenerate(): JvmMethodGenericSignature {
|
||||||
|
|||||||
Reference in New Issue
Block a user