Fixes mismatched types in ABI cast.(#6489 ) Merged Merging
esdrubal/fix_code_block_first_pass_abi (
) into
(
)
Benchmarks Passed sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover 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/requests.rs::benches::benchmarks::code_action sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens 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/compile.rs::benches::benchmarks::did_change_with_caching sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens Commits Click on a commit to change the comparison range Fixes mismatched types in ABI cast.
ABI cast generates TypeInfo::ContractCaller which contains an address
that is an expression. While doing the first and second code block
passes we would obtain different expressions because of first passes
optimizations.
This PR disables first pass optimizations while type checking address
expression so there isn't any mismatched types. Merge branch 'master' into esdrubal/fix_code_block_first_pass_abi Merge branch 'master' into esdrubal/fix_code_block_first_pass_abi Copyright © 2024 CodSpeed Technology SAS. All rights reserved.