aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
Commit message (Collapse)AuthorAgeFilesLines
* Add type params to FnSignatureMarcus Klaas de Vries2019-01-279-137/+107
|
* Initial implementation of generics for method callsMarcus Klaas de Vries2019-01-272-13/+72
|
* First attempt at generic type inference for fnsMarcus Klaas de Vries2019-01-275-20/+80
|
* Revert parts of "Test non standard crate root"Erlend Tobiassen2019-01-272-15/+9
| | | | Prefer cursor position over file_map
* Remove dbg!(...)Erlend Tobiassen2019-01-271-1/+1
|
* Fix bad rebase and rustfmtErlend Tobiassen2019-01-271-1/+1
|
* fix #668Erlend Tobiassen2019-01-271-1/+3
|
* Test non standard crate rootErlend Tobiassen2019-01-272-6/+48
|
* Merge #662bors[bot]2019-01-271-6/+1
|\ | | | | | | | | | | | | | | 662: Preserve indentation in doc comments r=matklad a=kjeremy Fixes #502 Co-authored-by: Jeremy Kolb <[email protected]>
| * Make doc comments optionalJeremy Kolb2019-01-261-6/+1
| |
* | Add marksFlorian Diebold2019-01-263-0/+11
| |
* | Handle cycles in type varsFlorian Diebold2019-01-264-9/+86
| | | | | | | | This might be the cause of #587.
* | Merge #683bors[bot]2019-01-263-2/+48
|\ \ | | | | | | | | | | | | | | | | | | | | | 683: fix AST for if expressions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | fix AST for if expressionsAleksey Kladov2019-01-263-2/+48
| |/ | | | | | | then is not always a block...
* | remove Option<SourceFileItemId> hackAleksey Kladov2019-01-268-83/+86
| |
* | store syntax ptr in FileItemsAleksey Kladov2019-01-262-21/+15
| | | | | | | | we cache the tree in file_item query anyway
* | remove dead codeAleksey Kladov2019-01-261-4/+0
|/
* rename source_file -> parseAleksey Kladov2019-01-266-17/+11
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-264-6/+6
|
* move ide queries to ide dbAleksey Kladov2019-01-261-2/+0
|
* fold syntax database into files databaseAleksey Kladov2019-01-263-10/+6
|
* rename POS_FIELD -> POS_FIELD_DEFAleksey Kladov2019-01-251-1/+1
| | | | to match NAMED_FIELD_DEF
* Merge #656bors[bot]2019-01-253-4/+7
|\ | | | | | | | | | | | | | | 656: :arrow_up deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: salsaAleksey Kladov2019-01-253-4/+7
| |
* | Merge #655bors[bot]2019-01-253-1/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | 655: Fix type inference of binops on int/float variables r=matklad a=flodiebold Fixes #651. Co-authored-by: Florian Diebold <[email protected]>
| * | Fix type inference of binops on int/float variablesFlorian Diebold2019-01-253-1/+30
| |/ | | | | | | Fixes #651.
* / nicer behavior in case of bugsAleksey Kladov2019-01-251-0/+5
|/ | | | | We should always reach a fixed point, but if we fail, let's fail loudly!
* Add docs to struct fieldsJeremy A. Kolb2019-01-251-0/+9
|
* remove dead codeAleksey Kladov2019-01-251-20/+5
|
* Merge #646bors[bot]2019-01-251-0/+7
|\ | | | | | | | | | | | | | | 646: Add module documentation support r=matklad a=kjeremy Co-authored-by: Jeremy A. Kolb <[email protected]>
| * Add module documentation supportJeremy A. Kolb2019-01-251-0/+7
| |
* | add ability to get strcut field sourceAleksey Kladov2019-01-254-31/+84
| |
* | remember where fields resolve to during inferenceAleksey Kladov2019-01-251-9/+19
|/
* Merge #639bors[bot]2019-01-253-74/+22
|\ | | | | | | | | | | | | | | 639: Update salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * use set methodsAleksey Kladov2019-01-252-29/+15
| |
| * :arrow_up salsaAleksey Kladov2019-01-252-45/+7
| |
* | reduce visibilityAleksey Kladov2019-01-251-10/+3
| |
* | use positional ids for fieldsAleksey Kladov2019-01-254-129/+129
| |
* | rename struct field -> struct field dataAleksey Kladov2019-01-251-6/+6
|/
* pack enum variants into arenaAleksey Kladov2019-01-255-68/+50
|
* switch to positional enum variantsAleksey Kladov2019-01-253-38/+44
|
* drop obsolete fixmeAleksey Kladov2019-01-251-1/+0
|
* deglobifyAleksey Kladov2019-01-251-2/+1
|
* simplifyAleksey Kladov2019-01-254-14/+16
|
* remove useless wrapperAleksey Kladov2019-01-252-6/+1
|
* fix commentAleksey Kladov2019-01-251-3/+2
|
* rename def_id -> defAleksey Kladov2019-01-252-27/+16
|
* write path resolution code only onceAleksey Kladov2019-01-252-62/+14
|
* refactor import resolutionAleksey Kladov2019-01-253-97/+142
| | | | | extract path resolution use enums instead of bools
* move adt to adtAleksey Kladov2019-01-243-24/+23
|