mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallowed option --experimental-via-ir in Assembler, Linker and StandardJson input modes
This commit is contained in:
@@ -927,6 +927,16 @@ General Information)").c_str(),
|
||||
else
|
||||
m_options.input.mode = InputMode::Compiler;
|
||||
|
||||
if (
|
||||
m_args.count(g_strExperimentalViaIR) > 0 &&
|
||||
m_options.input.mode != InputMode::Compiler &&
|
||||
m_options.input.mode != InputMode::CompilerWithASTImport
|
||||
)
|
||||
{
|
||||
serr() << "The option --" << g_strExperimentalViaIR << " is only supported in the compiler mode." << endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!parseInputPathsAndRemappings())
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user