BlogDocs

Fixes OOB in type_check_analyze of ImplTrait.(#6551)

Merged
Merging
esdrubal/oob
(
22e2e5c
) into
master
(
db74865
)
-10%
IMPROVEMENTS
0
REGRESSIONS
1
UNTOUCHED
21
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failed

document_symbolRegression
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
-10%
4.3 ms
4.8 ms

Passed

on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
+1%
127.2 µs
125.4 µs
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
+1%
378 ms
375.4 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::did_change_with_caching
+1%
506.4 ms
503.3 ms
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
+1%
1.6 ms
1.6 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
0%
3 ms
3 ms
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
0%
1.6 ms
1.6 ms
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
0%
22.9 ms
22.9 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
0%
25.7 ms
25.7 ms
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
0%
1.7 ms
1.7 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
0%
44.1 ms
44 ms
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
0%
46.4 ms
46.3 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
0%
46.4 ms
46.3 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
0%
1.6 ms
1.6 ms
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
0%
460.1 µs
460.1 µs
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
0%
223 ms
223 ms
parent_decl_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::parent_decl_at_position
0%
18.7 ms
18.7 ms
tokens_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_at_position
0%
18.7 ms
18.7 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
0%
3.2 ms
3.2 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
0%
5.4 s
5.4 s
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
0%
1.6 ms
1.6 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
0%
6.2 µs
6.3 µs

Commits

Click on a commit to change the comparison range
base
master
db74865
0%
Fixes OOB in type_check_analyze of ImplTrait. An unused line of code was throwing an OOB panic because of parser error. Removing the unused line of code fixes the issue. Fixes #6331
ca835f3
26 days ago
by esdrubal
-10%
Merge branch 'master' into esdrubal/oob
22e2e5c
25 days ago
by JoshuaBatty
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.