CommandLineInterface: Don't return zero exit code when writing linked files to disk fails

This commit is contained in:
Kamil Śliwak
2021-10-12 18:23:16 +02:00
parent a5ed732fd3
commit 01327d6ef1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ Compiler Features:
Bugfixes:
* Commandline Interface: Fix extra newline character being appended to sources passed through standard input, affecting their hashes.
* Commandline Interface: Report output selection options unsupported by the selected input mode instead of ignoring them.
* Commandline Interface: Don't return zero exit code when writing linked files to disk fails.
* SMTChecker: Fix internal error in magic type access (``block``, ``msg``, ``tx``).
* TypeChecker: Fix internal error when using user defined value types in public library functions.
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.
+1
View File
@@ -937,6 +937,7 @@ void CommandLineInterface::writeLinkedFiles()
if (!outFile)
{
serr() << "Could not write to file " << src.first << ". Aborting." << endl;
m_outputFailed = true;
return;
}
}