diff options
author | Aleksey Kladov <[email protected]> | 2019-04-11 15:14:41 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-11 15:14:41 +0100 |
commit | cf2ba2791d57123248141a3066071180f4255b1c (patch) | |
tree | 618cd4da82484b021cb4203f45a208e671c86949 /crates | |
parent | a347208bb283963cacb75439d1cf474d1f064f02 (diff) |
add todo
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index a764c54c0..182bc36ff 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -274,6 +274,7 @@ impl SourceAnalyzer { | |||
274 | None | 274 | None |
275 | }); | 275 | }); |
276 | SourceAnalyzer { | 276 | SourceAnalyzer { |
277 | //TODO: use scope_for_offset here to get correct scope for completion | ||
277 | resolver: resolver_for_node(db, file_id, node), | 278 | resolver: resolver_for_node(db, file_id, node), |
278 | body_source_map: def_with_body.map(|it| it.body_source_map(db)), | 279 | body_source_map: def_with_body.map(|it| it.body_source_map(db)), |
279 | infer: def_with_body.map(|it| it.infer(db)), | 280 | infer: def_with_body.map(|it| it.infer(db)), |