Skip to content

Commit 0172f61

Browse files
committed
No longer mark Yul as experimental.
1 parent e58c0b5 commit 0172f61

File tree

52 files changed

+16
-96
lines changed
  • libsolidity/interface
  • scripts
  • solc
  • test/cmdlineTests
    • evm_to_wasm_break
    • evm_to_wasm_output_selection_asm_only
    • evm_to_wasm_output_selection_ewasm_ir_only
    • evm_to_wasm_output_selection_ewasm_only
    • evm_to_wasm
    • linking_standard_yul_quote_in_file_name
    • linking_standard_yul_unresolved_references
    • linking_standard_yul
    • linking_strict_assembly_qualified_library_qualified_reference
    • linking_strict_assembly_qualified_library_unqualified_reference
    • linking_strict_assembly_same_library_name_different_files
    • linking_strict_assembly_unqualified_library_qualified_reference
    • linking_strict_assembly_unqualified_library_unqualified_reference
    • linking_strict_assembly_unresolved_references
    • linking_strict_assembly
    • object_compiler
    • standard_yul_debug_info_print_all
    • standard_yul_debug_info_print_location_only
    • standard_yul_debug_info_print_none
    • standard_yul_embedded_object_name
    • standard_yul_immutable_references
    • standard_yul_invalid_object_name
    • standard_yul_object_name
    • standard_yul_object
    • standard_yul_optimiserSteps
    • standard_yul_optimized
    • standard_yul_stack_opt_disabled
    • standard_yul_stack_opt
    • standard_yul
    • strict_asm_debug_info_print_all
    • strict_asm_debug_info_print_location_only
    • strict_asm_debug_info_print_none
    • strict_asm_jump
    • strict_asm_only_cr
    • strict_asm_optimizer_steps
    • strict_asm_output_selection_asm_only
    • strict_asm_output_selection_bin_only
    • strict_asm_output_selection_ewasm_ir_only
    • strict_asm_output_selection_ewasm_only
    • strict_asm_output_selection_ir_optimized_only
    • wasm_to_wasm_function_returning_multiple_values
    • wasm_to_wasm_memory_instructions_alignment
    • yul_function_name_clashes_different_params
    • yul_function_name_clashes
    • yul_optimize_runs
    • yul_to_wasm_source_location_crash
    • yul_verbatim_msize
    • yul_verbatim

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+16
-96
lines changed

libsolidity/interface/StandardCompiler.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,10 +1448,6 @@ Json::Value StandardCompiler::compileYul(InputsAndSettings _inputsAndSettings)
14481448
return output;
14491449
}
14501450

1451-
// TODO: move this warning to AssemblyStack
1452-
output["errors"] = Json::arrayValue;
1453-
output["errors"].append(formatError(Error::Severity::Warning, "Warning", "general", "Yul is still experimental. Please use the output with care."));
1454-
14551451
string contractName = stack.parserResult()->name.str();
14561452

14571453
bool const wildcardMatchesExperimental = true;

scripts/common_cmdline.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ function compileFull
6969
local exit_code=$?
7070
local errors; errors=$(grep -v -E \
7171
-e 'Warning: This is a pre-release compiler version|Warning: Experimental features are turned on|pragma experimental ABIEncoderV2|^ +--> |^ +\||^[0-9]+ +\| ' \
72-
-e 'Warning: Yul is still experimental. Please use the output with care.' \
7372
-e '^No text representation found.$' < "$stderr_path"
7473
)
7574

solc/CommandLineInterface.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,8 +1017,6 @@ void CommandLineInterface::assemble(yul::AssemblyStack::Language _language, yul:
10171017
{
10181018
solAssert(m_options.input.mode == InputMode::Assembler, "");
10191019

1020-
serr() << "Warning: Yul is still experimental. Please use the output with care." << endl;
1021-
10221020
bool successful = true;
10231021
map<string, yul::AssemblyStack> assemblyStacks;
10241022
for (auto const& src: m_fileReader.sourceUnits())

test/cmdlineTests/evm_to_wasm/err

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/evm_to_wasm_break/err

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/evm_to_wasm_output_selection_asm_only/err

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/evm_to_wasm_output_selection_ewasm_ir_only/err

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/evm_to_wasm_output_selection_ewasm_only/err

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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"}]}
1+
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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"}]}
1+
{"contracts":{"A":{"a":{"evm":{"bytecode":{"linkReferences":{},"object":"<BYTECODE REMOVED>"}}}}},}

0 commit comments

Comments
 (0)