mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
No longer mark Yul as experimental.
This commit is contained in:
parent
e58c0b561d
commit
0172f61340
@ -1448,10 +1448,6 @@ Json::Value StandardCompiler::compileYul(InputsAndSettings _inputsAndSettings)
|
||||
return output;
|
||||
}
|
||||
|
||||
// TODO: move this warning to AssemblyStack
|
||||
output["errors"] = Json::arrayValue;
|
||||
output["errors"].append(formatError(Error::Severity::Warning, "Warning", "general", "Yul is still experimental. Please use the output with care."));
|
||||
|
||||
string contractName = stack.parserResult()->name.str();
|
||||
|
||||
bool const wildcardMatchesExperimental = true;
|
||||
|
@ -69,7 +69,6 @@ function compileFull
|
||||
local exit_code=$?
|
||||
local errors; errors=$(grep -v -E \
|
||||
-e 'Warning: This is a pre-release compiler version|Warning: Experimental features are turned on|pragma experimental ABIEncoderV2|^ +--> |^ +\||^[0-9]+ +\| ' \
|
||||
-e 'Warning: Yul is still experimental. Please use the output with care.' \
|
||||
-e '^No text representation found.$' < "$stderr_path"
|
||||
)
|
||||
|
||||
|
@ -1017,8 +1017,6 @@ void CommandLineInterface::assemble(yul::AssemblyStack::Language _language, yul:
|
||||
{
|
||||
solAssert(m_options.input.mode == InputMode::Assembler, "");
|
||||
|
||||
serr() << "Warning: Yul is still experimental. Please use the output with care." << endl;
|
||||
|
||||
bool successful = true;
|
||||
map<string, yul::AssemblyStack> assemblyStacks;
|
||||
for (auto const& src: m_fileReader.sourceUnits())
|
||||
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +1 @@
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},}
|
||||
|
@ -1 +1 @@
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},}
|
||||
|
@ -1 +1 @@
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{"contract/test.sol":{"L2":[{"length":20,"start":22}]}},"object":"<BYTECODE REMOVED>__$fb58009a6b1ecea3b9d99bedd645df4ec3$__<BYTECODE REMOVED>"}}}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{"contract/test.sol":{"L2":[{"length":20,"start":22}]}},"object":"<BYTECODE REMOVED>__$fb58009a6b1ecea3b9d99bedd645df4ec3$__<BYTECODE REMOVED>"}}}}},}
|
||||
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -26,4 +26,4 @@
|
||||
sstore(add(x, 0), 0)
|
||||
}
|
||||
}
|
||||
"}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}},}
|
||||
|
@ -23,14 +23,4 @@ tag_3:
|
||||
}
|
||||
}
|
||||
},
|
||||
"errors":
|
||||
[
|
||||
{
|
||||
"component": "general",
|
||||
"formattedMessage": "Yul is still experimental. Please use the output with care.",
|
||||
"message": "Yul is still experimental. Please use the output with care.",
|
||||
"severity": "warning",
|
||||
"type": "Warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -23,14 +23,4 @@ tag_3:
|
||||
}
|
||||
}
|
||||
},
|
||||
"errors":
|
||||
[
|
||||
{
|
||||
"component": "general",
|
||||
"formattedMessage": "Yul is still experimental. Please use the output with care.",
|
||||
"message": "Yul is still experimental. Please use the output with care.",
|
||||
"severity": "warning",
|
||||
"type": "Warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -21,14 +21,4 @@ tag_3:
|
||||
}
|
||||
}
|
||||
},
|
||||
"errors":
|
||||
[
|
||||
{
|
||||
"component": "general",
|
||||
"formattedMessage": "Yul is still experimental. Please use the output with care.",
|
||||
"message": "Yul is still experimental. Please use the output with care.",
|
||||
"severity": "warning",
|
||||
"type": "Warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
{"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
{}
|
||||
|
@ -39,14 +39,4 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"errors":
|
||||
[
|
||||
{
|
||||
"component": "general",
|
||||
"formattedMessage": "Yul is still experimental. Please use the output with care.",
|
||||
"message": "Yul is still experimental. Please use the output with care.",
|
||||
"severity": "warning",
|
||||
"type": "Warning"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
{"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
{}
|
||||
|
@ -28,4 +28,4 @@ data_4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45 616263
|
||||
}
|
||||
data \"DataName\" hex\"616263\"
|
||||
}
|
||||
"}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}},}
|
||||
|
@ -43,4 +43,4 @@ sub_0: assembly {
|
||||
code { revert(0, 0) }
|
||||
}
|
||||
}
|
||||
"}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}},}
|
||||
|
@ -21,4 +21,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
"}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}},}
|
||||
|
@ -16,4 +16,4 @@
|
||||
","irOptimized":"object \"object\" {
|
||||
code { { sstore(mload(0), 0) } }
|
||||
}
|
||||
"}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}},}
|
||||
|
@ -12,4 +12,4 @@
|
||||
sstore
|
||||
/* \"A\":0:72 */
|
||||
stop
|
||||
"}}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}}},}
|
||||
|
@ -15,4 +15,4 @@
|
||||
/* \"A\":0:72 */
|
||||
pop
|
||||
pop
|
||||
"}}}},"errors":[{"component":"general","formattedMessage":"Yul is still experimental. Please use the output with care.","message":"Yul is still experimental. Please use the output with care.","severity":"warning","type":"Warning"}]}
|
||||
"}}}},}
|
||||
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1,4 +1,3 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
||||
Error: Function "jump" not found.
|
||||
--> strict_asm_jump/input.yul:1:3:
|
||||
|
|
||||
|
@ -1,4 +1,3 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
||||
Error: Expected keyword "object".
|
||||
--> strict_asm_only_cr/input.yul:1:2:
|
||||
|
|
||||
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
@ -1 +0,0 @@
|
||||
Warning: Yul is still experimental. Please use the output with care.
|
Loading…
Reference in New Issue
Block a user