Fixes ABI alias metadata types.(#6494 ) Merged Benchmarks Passed sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::did_change_with_caching sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol Commits Click on a commit to change the comparison range Fixes ABI alias metadata types.
Before this push using an alias in a contract would produce an ABI with
two distinct metadata types for tuples, one for `(_,_)` and another one
for `(u64,u64)`.
With this change alias are bypassed and we only produce metadata for the
string type of the inner alias type. If alias is `(u64, u64)` we will
produce a metadatatype for `(_,_)`.
Fixes #6488 Merge branch 'master' into esdrubal/fix_abi_alias Copyright © 2024 CodSpeed Technology SAS. All rights reserved.