rust-lang/rust-analyzer
matching_brace function not correct when jumping from open brace to close brace
Aperta
#1942 aperta il 2 ott 2019
E-has-instructionsE-mediumS-actionablegood first issue
Metriche repository
- Star
- (14.924 stelle)
- Metriche merge PR
- (Merge medio 11g 5h) (96 PR mergiate in 30 g)
Descrizione
swap the order of do_check parameters the makes the test case failed
do_check("struct Foo <|>{ a: i32, }", "struct Foo { a: i32, }<|>");
this matching behavior should be symmetrical
if the matching node is a left brace, we use start(), if the matching node is a right brace, we should use end()