mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6368 from ethereum/yul-standard-warnings
Add warning that Yul is still experimental
This commit is contained in:
@@ -891,6 +891,10 @@ Json::Value StandardCompiler::compileYul(InputsAndSettings _inputsAndSettings)
|
||||
return output;
|
||||
}
|
||||
|
||||
// TODO: move this warning to AssemblyStack
|
||||
output["errors"] = Json::arrayValue;
|
||||
output["errors"].append(formatError(true, "Warning", "general", "Yul is still experimental. Please use the output with care."));
|
||||
|
||||
string contractName = stack.parserResult()->name.str();
|
||||
|
||||
if (isArtifactRequested(_inputsAndSettings.outputSelection, sourceName, contractName, "ir"))
|
||||
|
||||
Reference in New Issue
Block a user