We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b241d commit f38ec38Copy full SHA for f38ec38
pyrefly/lib/lsp/non_wasm/server.rs
@@ -2261,10 +2261,11 @@ impl Server {
2261
let mut grouped: Vec<(ModuleInfo, Vec<TextRange>)> = Vec::new();
2262
for impl_with_module in implementations {
2263
if let Some((last_module, ranges)) = grouped.last_mut()
2264
- && last_module.path() == impl_with_module.module.path() {
2265
- ranges.push(impl_with_module.range);
2266
- continue;
2267
- }
+ && last_module.path() == impl_with_module.module.path()
+ {
+ ranges.push(impl_with_module.range);
+ continue;
2268
+ }
2269
grouped.push((impl_with_module.module, vec![impl_with_module.range]));
2270
}
2271
Ok(grouped)
0 commit comments