Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make nameres::ResolvePathResult private and refactor | Ville Penttinen | 2019-02-21 | 1 | -7/+7 | |
| | ||||||
* | Remove Const inference for now, refactor PathResult | Ville Penttinen | 2019-02-21 | 1 | -15/+8 | |
| | ||||||
* | Implement basic support for Associated Methods and Constants | Ville Penttinen | 2019-02-21 | 1 | -16/+62 | |
| | | | | | | | This is done in `infer_path_expr`. When `Resolver::resolve_path` returns `PartiallyResolved`, we use the returned `Resolution` together with the given `segment_index` to check if we can find something matching the segment at segment_index in the impls for that particular type. | |||||
* | Handle tuple structs / enum variants properly in type inference | Florian Diebold | 2019-02-17 | 1 | -2/+2 | |
| | ||||||
* | Complete names from prelude | Florian Diebold | 2019-02-13 | 1 | -1/+1 | |
| | ||||||
* | Handle extern crates better, so they work correctly in 2015 edition | Florian Diebold | 2019-02-13 | 1 | -8/+17 | |
| | | | | (see the removed comment.) | |||||
* | Resolve 2015 style imports | Florian Diebold | 2019-02-13 | 1 | -7/+61 | |
| | ||||||
* | Import the prelude | Florian Diebold | 2019-02-13 | 1 | -4/+46 | |
| | ||||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -1/+1 | |
| | ||||||
* | rename combine -> or | Aleksey Kladov | 2019-02-11 | 1 | -2/+2 | |
| | | | | | | This way we match API of Option https://doc.rust-lang.org/std/option/enum.Option.html#method.or | |||||
* | use extern prelude in Resolver | Aleksey Kladov | 2019-02-11 | 1 | -13/+9 | |
| | | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly | |||||
* | Implement glob imports within the same crate | Florian Diebold | 2019-02-10 | 1 | -16/+77 | |
| | | | | Fixes #231. | |||||
* | Import glob imports from other crates | Florian Diebold | 2019-02-10 | 1 | -2/+15 | |
| | | | | This is the easy part since we don't have to consider the fixpoint algorithm. | |||||
* | Implement glob imports from enums | Florian Diebold | 2019-02-10 | 1 | -4/+35 | |
| | ||||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -74/+21 | |
| | ||||||
* | Fix ReachedFixedPoint value for unresolved external prelude items | Florian Diebold | 2019-02-04 | 1 | -1/+1 | |
| | ||||||
* | Complete extern prelude (again) | Florian Diebold | 2019-02-04 | 1 | -1/+1 | |
| | ||||||
* | Make extern crates in the root module add to the extern prelude | Florian Diebold | 2019-02-04 | 1 | -30/+60 | |
| | | | | To accomplish this, separate the extern prelude from the per-module item maps. | |||||
* | Use aliases in import resolution | Florian Diebold | 2019-02-01 | 1 | -9/+12 | |
| | ||||||
* | Cleanup | Florian Diebold | 2019-02-01 | 1 | -2/+1 | |
| | ||||||
* | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 1 | -0/+9 | |
| | ||||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 1 | -5/+18 | |
| | ||||||
* | Sketching the resolver API | Florian Diebold | 2019-02-01 | 1 | -1/+1 | |
| | ||||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -7/+6 | |
| | ||||||
* | Use Crate instead of CrateId | Aleksey Kladov | 2019-01-30 | 1 | -11/+7 | |
| | ||||||
* | move item_map_query | Aleksey Kladov | 2019-01-30 | 1 | -3/+26 | |
| | ||||||
* | remove Option<SourceFileItemId> hack | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 | |
| | ||||||
* | nicer behavior in case of bugs | Aleksey Kladov | 2019-01-25 | 1 | -0/+5 | |
| | | | | | We should always reach a fixed point, but if we fail, let's fail loudly! | |||||
* | pack enum variants into arena | Aleksey Kladov | 2019-01-25 | 1 | -7/+2 | |
| | ||||||
* | drop obsolete fixme | Aleksey Kladov | 2019-01-25 | 1 | -1/+0 | |
| | ||||||
* | deglobify | Aleksey Kladov | 2019-01-25 | 1 | -2/+1 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-01-25 | 1 | -3/+11 | |
| | ||||||
* | fix comment | Aleksey Kladov | 2019-01-25 | 1 | -3/+2 | |
| | ||||||
* | rename def_id -> def | Aleksey Kladov | 2019-01-25 | 1 | -25/+14 | |
| | ||||||
* | write path resolution code only once | Aleksey Kladov | 2019-01-25 | 1 | -2/+11 | |
| | ||||||
* | refactor import resolution | Aleksey Kladov | 2019-01-25 | 1 | -94/+117 | |
| | | | | | extract path resolution use enums instead of bools | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -30/+26 | |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | |||||
* | assign DefIds when lowering | Aleksey Kladov | 2019-01-23 | 1 | -18/+2 | |
| | ||||||
* | fix completion bugs | gfreezy | 2019-01-23 | 1 | -2/+7 | |
| | ||||||
* | Add AST/HIR for type args in path segments | Florian Diebold | 2019-01-19 | 1 | -12/+12 | |
| | ||||||
* | rename LoweredImport -> ImportId | Aleksey Kladov | 2019-01-19 | 1 | -3/+3 | |
| | ||||||
* | switched to lowerd module | Aleksey Kladov | 2019-01-19 | 1 | -20/+24 | |
| | ||||||
* | move input module items to the lower module | Aleksey Kladov | 2019-01-19 | 1 | -147/+6 | |
| | ||||||
* | remove Cancelable from nameres | Aleksey Kladov | 2019-01-15 | 1 | -24/+18 | |
| | ||||||
* | remove Cancelable from Crate API | Aleksey Kladov | 2019-01-15 | 1 | -2/+2 | |
| | ||||||
* | check_canceled does not return Result | Aleksey Kladov | 2019-01-15 | 1 | -1/+1 | |
| | ||||||
* | Fix typos in ARCHITECTURE.md and a number of crates | Marcus Klaas de Vries | 2019-01-09 | 1 | -12/+12 | |
| | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir | |||||
* | Fix name resolution across source roots | Florian Diebold | 2019-01-08 | 1 | -7/+41 | |
| | | | | It was using the wrong name in that case. | |||||
* | Merge #455 | bors[bot] | 2019-01-08 | 1 | -15/+32 | |
|\ | | | | | | | | | | | | | | | 455: Import fixpoint loop for name resolution r=matklad a=flodiebold This implements reexports, so only the glob import part of #231 remains. Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Import fixpoint loop for name resolution | Florian Diebold | 2019-01-08 | 1 | -15/+32 | |
| | |