rust-lang/rust-analyzer
matching_brace function not correct when jumping from open brace to close brace
开放
#1,942 创建于 2019年10月2日
E-has-instructionsE-mediumS-actionablegood first issue
仓库指标
- 星标
- (14,924 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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()