mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CommandLineInterface: Don't return zero exit code when writing linked files to disk fails
This commit is contained in:
parent
a5ed732fd3
commit
01327d6ef1
@ -15,6 +15,7 @@ Compiler Features:
|
|||||||
Bugfixes:
|
Bugfixes:
|
||||||
* Commandline Interface: Fix extra newline character being appended to sources passed through standard input, affecting their hashes.
|
* 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: 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``).
|
* 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.
|
* 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.
|
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.
|
||||||
|
@ -937,6 +937,7 @@ void CommandLineInterface::writeLinkedFiles()
|
|||||||
if (!outFile)
|
if (!outFile)
|
||||||
{
|
{
|
||||||
serr() << "Could not write to file " << src.first << ". Aborting." << endl;
|
serr() << "Could not write to file " << src.first << ". Aborting." << endl;
|
||||||
|
m_outputFailed = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user