Fixes panic error on decl_to_type_info.(#6552 ) Merged Merging
esdrubal/panic_in_decl_to_type_info (
) into
(
)
Benchmarks Passed sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints 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/requests.rs::benches::benchmarks::prepare_rename sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_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/requests.rs::benches::benchmarks::on_enter sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens Commits Click on a commit to change the comparison range Fixes panic error on decl_to_type_info.
Doing an unwrap without checking if the value was none was causing a panic.
Fixed by throwing an error so we can also see the previous errors.
Fixes #6330 Merge branch 'master' into esdrubal/panic_in_decl_to_type_info 25 days ago
by JoshuaBattyMerge branch 'master' into esdrubal/panic_in_decl_to_type_info Copyright © 2024 CodSpeed Technology SAS. All rights reserved.