aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
Commit message (Collapse)AuthorAgeFilesLines
...
* Added ArrayExprKind,Lenard Pratt2019-04-073-29/+52
| | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr
* Added inference of array lengthLenard Pratt2019-04-074-4/+56
|
* Parse and infer tuple indicesrobojumper2019-04-063-1/+72
|
* Merge #1068bors[bot]2019-04-032-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]>
| * Merge remote-tracking branch 'upstream/master' into issue961_profilingSergey Parilin2019-04-0221-502/+931
| |\
| * | PR issuse resolvedSergey Parilin2019-04-022-2/+3
| | |
* | | Merge #1076bors[bot]2019-04-028-47/+219
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]>
| * | | made ExprCollector pub(crate) and movedLenard Pratt2019-04-022-14/+11
| | | | | | | | | | | | | | | | collect_fn_body_syntax
| * | | Added const bodies and static body to the astLenard Pratt2019-04-028-86/+168
| | | | | | | | | | | | | | | | | | | | | | | | and added inference the inference test reduce code duplication
| * | | Added defWithBodyLenard Pratt2019-03-305-24/+117
| | |/ | |/|
* | | always produce source for importAleksey Kladov2019-04-025-24/+62
| | |
* | | fix a panic with glob-import missing a source mapAleksey Kladov2019-04-024-23/+14
| | |
* | | rename flavor to kindAleksey Kladov2019-04-023-27/+27
| | |
* | | remove flavorAleksey Kladov2019-04-021-4/+4
| | |
* | | intelligently add parens when inlining local varaiblesgfreezy2019-04-011-0/+1
| | |
* | | switch to new rowanAleksey Kladov2019-04-013-22/+12
|/ /
* | more realistic test for incrementalityAleksey Kladov2019-03-261-5/+22
| |
* | reduce visibilityAleksey Kladov2019-03-262-12/+12
| |
* | renameAleksey Kladov2019-03-266-54/+42
| |
* | simplifyAleksey Kladov2019-03-263-21/+21
| |
* | make stuff privateAleksey Kladov2019-03-261-26/+14
| |
* | more type safetyAleksey Kladov2019-03-265-63/+82
| |
* | strongy-typed ids for macrosAleksey Kladov2019-03-264-33/+19
| |
* | add typed idsAleksey Kladov2019-03-267-45/+88
| |
* | remove some dead codeAleksey Kladov2019-03-261-17/+1
| |
* | simplifyAleksey Kladov2019-03-263-8/+6
| |
* | move source_id to a separate fileAleksey Kladov2019-03-268-120/+128
| |
* | make macro parsing a queryAleksey Kladov2019-03-263-5/+8
| |
* | reduce visibilityAleksey Kladov2019-03-261-23/+27
| |
* | store macro def inside macro idAleksey Kladov2019-03-267-119/+73
| | | | | | | | | | | | | | | | 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!
* | Clean up comments / use nicer Iterator methodsFlorian Diebold2019-03-252-10/+15
| |
* | Implement a very naive implements checkFlorian Diebold2019-03-254-12/+50
| | | | | | | | ... to make the infer_trait_method_simple test have the correct result.
* | Basics for trait method resolutionFlorian Diebold2019-03-259-23/+147
| |
* | move tests to where they belongAleksey Kladov2019-03-251-0/+1
| |
* | tweak diagnostics APIAleksey Kladov2019-03-252-9/+14
| |
* | test diagnosticsAleksey Kladov2019-03-253-1/+61
| |
* | more enterprisey diagnostics setupAleksey Kladov2019-03-252-10/+45
| |
* | fixesAleksey Kladov2019-03-251-1/+1
| |
* | check impls as wellAleksey Kladov2019-03-251-1/+1
| |
* | cleanupAleksey Kladov2019-03-255-49/+68
| |
* | switch modules to new diagnosticsAleksey Kladov2019-03-257-99/+126
| |
* | allow dyn diagnosticsAleksey Kladov2019-03-254-15/+98
| |
* | diagnosticsAleksey Kladov2019-03-255-5/+45
|/
* Target only the actual operator.Marco Groppo2019-03-241-2/+2
| | | | | Renamed `BinExpr::op()` and `PrefixExpr::op()` to `op_kind`. Now `op()` returns the `SyntaxNode`.
* Fix apply_substs assertion failureFlorian Diebold2019-03-232-2/+25
| | | | Fixes #1030.
* remove obsolete diagnosticAleksey Kladov2019-03-231-1/+0
|
* rename persistent hir database -> def databaseAleksey Kladov2019-03-2316-154/+104
|
* replace todo with fixmeAleksey Kladov2019-03-2313-53/+53
|
* Refactor primitive types into more orthogonal representationyanchith2019-03-224-144/+155
|
* Assert in apply_substs that the number of parameters doesn't changeFlorian Diebold2019-03-212-2/+7
| | | | ... and fix a small bug revealed by that.