aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
Commit message (Collapse)AuthorAgeFilesLines
* always produce source for importAleksey Kladov2019-04-021-17/+52
|
* fix a panic with glob-import missing a source mapAleksey Kladov2019-04-021-9/+7
|
* more realistic test for incrementalityAleksey Kladov2019-03-261-5/+22
|
* renameAleksey Kladov2019-03-261-12/+12
|
* more type safetyAleksey Kladov2019-03-262-29/+42
|
* strongy-typed ids for macrosAleksey Kladov2019-03-262-19/+11
|
* add typed idsAleksey Kladov2019-03-262-19/+16
|
* move source_id to a separate fileAleksey Kladov2019-03-262-3/+3
|
* reduce visibilityAleksey Kladov2019-03-261-23/+27
|
* store macro def inside macro idAleksey Kladov2019-03-263-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 belongAleksey Kladov2019-03-251-0/+1
|
* test diagnosticsAleksey Kladov2019-03-251-0/+18
|
* cleanupAleksey Kladov2019-03-251-3/+6
|
* switch modules to new diagnosticsAleksey Kladov2019-03-251-34/+29
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-232-14/+8
|
* import resolution is immutableAleksey Kladov2019-03-191-1/+1
|
* remove fixmeAleksey Kladov2019-03-171-2/+1
|
* remove old macro supportAleksey Kladov2019-03-171-31/+45
|
* rename ModuleId -> CrateModuleIdAleksey Kladov2019-03-172-12/+12
|
* fix error on wrong pathAleksey Kladov2019-03-172-10/+40
|
* Reorganize name resolutionAleksey Kladov2019-03-179-416/+115
|
* remove lower moduleAleksey Kladov2019-03-173-188/+27
|
* remove ItemMapAleksey Kladov2019-03-172-11/+29
|
* move tests over to crate-def-mapAleksey Kladov2019-03-177-845/+687
|
* Replace module_tree with CrateDefMapAleksey Kladov2019-03-175-106/+234
|
* add name resolution from the old implAleksey Kladov2019-03-175-168/+724
| | | | unlike the old impl, this also handles macro imports across crates
* add skeleton for macro-aware name resolutionsAleksey Kladov2019-03-173-0/+738
|
* align lower module query namesAleksey Kladov2019-03-021-10/+3
|
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-251-1/+1
|
* Rename Type => TypeAliasFlorian Diebold2019-02-241-2/+2
|
* remove ignored macro testsAleksey Kladov2019-02-191-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 editionFlorian Diebold2019-02-132-7/+38
| | | | (see the removed comment.)
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-10/+4
| | | | crate_graph macro
* Resolve 2015 style importsFlorian Diebold2019-02-131-0/+45
|
* Import the preludeFlorian Diebold2019-02-132-1/+43
|
* Fix some typosPascal Hertleif2019-02-121-1/+1
|
* remove hard-coded query-group macroAleksey Kladov2019-02-111-0/+1
|
* use extern prelude in ResolverAleksey Kladov2019-02-111-0/+32
| | | | | | | This fixes two bugs: - completion for paths works again - we handle extern prelude shadowing more correctly
* add graph fixtureAleksey Kladov2019-02-111-71/+45
|
* Handle SourceRoots automatically in fixturesAleksey Kladov2019-02-111-28/+20
|
* Import glob imports from other cratesFlorian Diebold2019-02-101-0/+1
| | | | This is the easy part since we don't have to consider the fixpoint algorithm.
* Add some testsFlorian Diebold2019-02-101-0/+119
|
* reformat the worldAleksey Kladov2019-02-082-48/+17
|
* Make extern crates in the root module add to the extern preludeFlorian Diebold2019-02-042-8/+7
| | | | To accomplish this, separate the extern prelude from the per-module item maps.
* Lower extern crates to importsFlorian Diebold2019-02-041-3/+16
| | | | This is probably not completely correct, but it kind of works.
* Add test for extern crate renamesFlorian Diebold2019-02-041-0/+42
|
* Pass aliases to ImportDataFlorian Diebold2019-02-011-1/+3
|
* Add test for `use as`Florian Diebold2019-02-011-0/+24
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-011-1/+2
|
* split HirDatabase apicsmoe2019-02-012-8/+8
|