mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not allow msize in inline assembly if the Yul optimizer is active.
This commit is contained in:
@@ -250,7 +250,7 @@ bool CompilerStack::analyze()
|
||||
bool noErrors = true;
|
||||
|
||||
try {
|
||||
SyntaxChecker syntaxChecker(m_errorReporter);
|
||||
SyntaxChecker syntaxChecker(m_errorReporter, m_optimiserSettings.runYulOptimiser);
|
||||
for (Source const* source: m_sourceOrder)
|
||||
if (!syntaxChecker.checkSyntax(*source->ast))
|
||||
noErrors = false;
|
||||
|
||||
Reference in New Issue
Block a user