StandardCompiler: Do not discard non-fatal errors that happened before a fatal error

This commit is contained in:
Kamil Śliwak
2021-09-16 20:29:03 +02:00
parent 1a9ba1baca
commit fc8c4b046c
3 changed files with 60 additions and 13 deletions
@@ -1,6 +1,13 @@
{
"errors":
[
{
"component": "general",
"formattedMessage": "Cannot import url (\"in.yul\"): File not found.",
"message": "Cannot import url (\"in.yul\"): File not found.",
"severity": "error",
"type": "IOError"
},
{
"component": "general",
"formattedMessage": "Yul mode only supports exactly one input file.",