nrc / rust-dxr

Rust indexing in DXR
8 stars 0 forks source link

Handle parts of paths #13

Open nrc opened 9 years ago

nrc commented 9 years ago

In a path a::b::c::d we handle the a and the d, but not b or c. We used to have a hack in DXR to do some approximation of name resolution, but that is dumb. We should change the compiler to give spans and name resolution info for each path segment, especially as that info would be useful elsewhere in the compiler. Unfortunately, I think the required changes are quite complex.