[IR] Proper error message for IR validation

This commit is contained in:
Igor Chevdar
2023-02-09 13:28:00 +02:00
committed by Space Team
parent 1e8cd91e0f
commit 0655b02097
@@ -83,7 +83,7 @@ class IrValidator(val context: CommonBackendContext, val config: IrValidatorConf
)
if (config.abortOnError) {
error("Validation failed in file ${currentFile?.name ?: "???"}")
error("Validation failed in file ${currentFile?.name ?: "???"} : ${message}\n${element.render()}")
}
}