BlogDocs

Fixed required trait constraint not being checked(#6525)

Merged
Merging
esdrubal/fix_additional_constraints
(
44a5d0d
) into
master
(
15c8298
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
22
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

on_enter
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::on_enter
0%
127.2 µs
127.1 µs
completion
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::completion
0%
22.9 ms
22.9 ms
prepare_rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::prepare_rename
0%
1.6 ms
1.6 ms
highlight
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::highlight
0%
44 ms
44 ms
find_all_references
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::find_all_references
0%
46.3 ms
46.3 ms
code_lens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_lens
0%
6.2 µs
6.2 µs
rename
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::rename
0%
46.3 ms
46.3 ms
code_action
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::code_action
0%
25.7 ms
25.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
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
idents_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::idents_at_position
0%
459.9 µs
460 µs
token_at_position
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::token_at_position
0%
1.6 ms
1.6 ms
inlay_hints
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::inlay_hints
0%
3.2 ms
3.2 ms
goto_definition
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::goto_definition
0%
1.6 ms
1.6 ms
hover
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::hover
0%
1.7 ms
1.7 ms
compile
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::compile
0%
5.4 s
5.4 s
traverse
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::traverse
0%
222.5 ms
222.8 ms
did_change_with_caching
sway-lsp/benches/lsp_benchmarks/compile.rs::benches::benchmarks::did_change_with_caching
0%
503.4 ms
504.2 ms
semantic_tokens
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::semantic_tokens
0%
3 ms
3 ms
format
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::format
0%
381.1 ms
382.7 ms
document_symbol
sway-lsp/benches/lsp_benchmarks/requests.rs::benches::benchmarks::document_symbol
-1%
4.3 ms
4.3 ms
tokens_for_file
sway-lsp/benches/lsp_benchmarks/token_map.rs::benches::benchmarks::tokens_for_file
-6%
1.6 ms
1.7 ms

Commits

Click on a commit to change the comparison range
base
master
15c8298
-18%
Fixed required trait constraint not beeing checked An optimization on `check_if_trait_constraints_are_satisfied_for_type_inner` was making missing trait constraints to not beeing detected. Fixes #6374.
7859f88
20 days ago
by esdrubal
0%
Merge branch 'master' into esdrubal/fix_additional_constraints
8be5921
13 days ago
by JoshuaBatty
+18%
Adds missing test.
4dbee9f
12 days ago
by esdrubal
-18%
Merge branch 'master' into esdrubal/fix_additional_constraints
98824f6
12 days ago
by JoshuaBatty
+17%
Merge branch 'master' into esdrubal/fix_additional_constraints
44a5d0d
12 days ago
by sdankel
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.