Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | store macro def inside macro id | Aleksey Kladov | 2019-03-26 | 3 | -101/+45 | |
| | | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def! | |||||
* | move tests to where they belong | Aleksey Kladov | 2019-03-25 | 1 | -0/+1 | |
| | ||||||
* | test diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -0/+18 | |
| | ||||||
* | cleanup | Aleksey Kladov | 2019-03-25 | 1 | -3/+6 | |
| | ||||||
* | switch modules to new diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -34/+29 | |
| | ||||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 2 | -14/+8 | |
| | ||||||
* | import resolution is immutable | Aleksey Kladov | 2019-03-19 | 1 | -1/+1 | |
| | ||||||
* | remove fixme | Aleksey Kladov | 2019-03-17 | 1 | -2/+1 | |
| | ||||||
* | remove old macro support | Aleksey Kladov | 2019-03-17 | 1 | -31/+45 | |
| | ||||||
* | rename ModuleId -> CrateModuleId | Aleksey Kladov | 2019-03-17 | 2 | -12/+12 | |
| | ||||||
* | fix error on wrong path | Aleksey Kladov | 2019-03-17 | 2 | -10/+40 | |
| | ||||||
* | Reorganize name resolution | Aleksey Kladov | 2019-03-17 | 9 | -416/+115 | |
| | ||||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 3 | -188/+27 | |
| | ||||||
* | remove ItemMap | Aleksey Kladov | 2019-03-17 | 2 | -11/+29 | |
| | ||||||
* | move tests over to crate-def-map | Aleksey Kladov | 2019-03-17 | 7 | -845/+687 | |
| | ||||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 5 | -106/+234 | |
| | ||||||
* | add name resolution from the old impl | Aleksey Kladov | 2019-03-17 | 5 | -168/+724 | |
| | | | | unlike the old impl, this also handles macro imports across crates | |||||
* | add skeleton for macro-aware name resolutions | Aleksey Kladov | 2019-03-17 | 3 | -0/+738 | |
| | ||||||
* | align lower module query names | Aleksey Kladov | 2019-03-02 | 1 | -10/+3 | |
| | ||||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 1 | -1/+1 | |
| | ||||||
* | Rename Type => TypeAlias | Florian Diebold | 2019-02-24 | 1 | -2/+2 | |
| | ||||||
* | remove ignored macro tests | Aleksey Kladov | 2019-02-19 | 1 | -30/+0 | |
| | | | | | we need to significantly reengineer macros, so the tests as they exist are useless | |||||
* | Handle extern crates better, so they work correctly in 2015 edition | Florian Diebold | 2019-02-13 | 2 | -7/+38 | |
| | | | | (see the removed comment.) | |||||
* | Make edition handling a bit nicer and allow specifying edition in ↵ | Florian Diebold | 2019-02-13 | 1 | -10/+4 | |
| | | | | crate_graph macro | |||||
* | Resolve 2015 style imports | Florian Diebold | 2019-02-13 | 1 | -0/+45 | |
| | ||||||
* | Import the prelude | Florian Diebold | 2019-02-13 | 2 | -1/+43 | |
| | ||||||
* | Fix some typos | Pascal Hertleif | 2019-02-12 | 1 | -1/+1 | |
| | ||||||
* | remove hard-coded query-group macro | Aleksey Kladov | 2019-02-11 | 1 | -0/+1 | |
| | ||||||
* | use extern prelude in Resolver | Aleksey Kladov | 2019-02-11 | 1 | -0/+32 | |
| | | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly | |||||
* | add graph fixture | Aleksey Kladov | 2019-02-11 | 1 | -71/+45 | |
| | ||||||
* | Handle SourceRoots automatically in fixtures | Aleksey Kladov | 2019-02-11 | 1 | -28/+20 | |
| | ||||||
* | Import glob imports from other crates | Florian Diebold | 2019-02-10 | 1 | -0/+1 | |
| | | | | This is the easy part since we don't have to consider the fixpoint algorithm. | |||||
* | Add some tests | Florian Diebold | 2019-02-10 | 1 | -0/+119 | |
| | ||||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 2 | -48/+17 | |
| | ||||||
* | Make extern crates in the root module add to the extern prelude | Florian Diebold | 2019-02-04 | 2 | -8/+7 | |
| | | | | To accomplish this, separate the extern prelude from the per-module item maps. | |||||
* | Lower extern crates to imports | Florian Diebold | 2019-02-04 | 1 | -3/+16 | |
| | | | | This is probably not completely correct, but it kind of works. | |||||
* | Add test for extern crate renames | Florian Diebold | 2019-02-04 | 1 | -0/+42 | |
| | ||||||
* | Pass aliases to ImportData | Florian Diebold | 2019-02-01 | 1 | -1/+3 | |
| | ||||||
* | Add test for `use as` | Florian Diebold | 2019-02-01 | 1 | -0/+24 | |
| | ||||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 1 | -1/+2 | |
| | ||||||
* | split HirDatabase api | csmoe | 2019-02-01 | 2 | -8/+8 | |
| | ||||||
* | Use Crate instead of CrateId | Aleksey Kladov | 2019-01-30 | 1 | -7/+7 | |
| | ||||||
* | Revert parts of "Test non standard crate root" | Erlend Tobiassen | 2019-01-27 | 1 | -5/+3 | |
| | | | | Prefer cursor position over file_map | |||||
* | Remove dbg!(...) | Erlend Tobiassen | 2019-01-27 | 1 | -1/+1 | |
| | ||||||
* | Test non standard crate root | Erlend Tobiassen | 2019-01-27 | 1 | -0/+38 | |
| | ||||||
* | remove Option<SourceFileItemId> hack | Aleksey Kladov | 2019-01-26 | 1 | -4/+1 | |
| | ||||||
* | rename source_file -> parse | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 | |
| | ||||||
* | rename FilesDatabase -> SourceDatabase | Aleksey Kladov | 2019-01-26 | 1 | -1/+1 | |
| | ||||||
* | use set methods | Aleksey Kladov | 2019-01-25 | 1 | -6/+5 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-01-25 | 1 | -1/+1 | |
| |