aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge #442bors[bot]2019-01-076-57/+225
|\ | | | | | | | | | | | | | | | | | | | | | | 442: WIP: indent on typing dot r=matklad a=simonvandel Fixes #439. The unit test passes, but I can't seem to make VS code perform the action. The existing action on "=" doesn't work either on my end either though. I didn't add any smart way of detecting the current indent level. Any ideas how I would do that? Co-authored-by: Simon Vandel Sillesen <[email protected]>
| * my formatting tool locally messes things upSimon Vandel Sillesen2019-01-071-1/+1
| |
| * fix nitsSimon Vandel Sillesen2019-01-071-10/+8
| |
| * formattingSimon Vandel Sillesen2019-01-061-1/+1
| |
| * fix testsSimon Vandel Sillesen2019-01-061-10/+72
| |
| * add more testsSimon Vandel Sillesen2019-01-061-1/+54
| |
| * add "." as a trigger char on type formattingSimon Vandel Sillesen2019-01-061-1/+1
| |
| * refactorSimon Vandel Sillesen2019-01-062-35/+26
| |
| * format codeSimon Vandel Sillesen2019-01-061-1/+1
| |
| * rename unused variableSimon Vandel Sillesen2019-01-061-1/+1
| |
| * indent on typing dot. fixes #439Simon Vandel Sillesen2019-01-054-39/+103
| |
* | if let -> matchFlorian Diebold2019-01-071-8/+6
| |
* | Improve types for node_expr / node_patFlorian Diebold2019-01-063-15/+11
| |
* | Introduce ArenaMapFlorian Diebold2019-01-065-25/+97
| |
* | Sort ranges in type inference testsFlorian Diebold2019-01-069-92/+93
| | | | | | | | | | Also rename the files to remove the numbers (they don't serve a purpose now that there are only the data files).
* | Use HIR Expr for type inferenceFlorian Diebold2019-01-0610-342/+308
| | | | | | | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :)
* | Show types when hovering patterns as wellFlorian Diebold2019-01-061-4/+15
| |
* | Merge #440bors[bot]2019-01-064-2/+140
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 440: Implement type inference for boolean operators r=flodiebold a=marcusklaas Tried implementing the easiest part of https://github.com/rust-analyzer/rust-analyzer/issues/390. Hope this is somewhat close to what the intent of the issue was. Found it surprisingly easy to find my way around the repository - it's well organized! Very grateful for any pointers. Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * | Touch up type inference for boolean operatorsMarcus Klaas de Vries2019-01-066-43/+93
| | | | | | | | | | | | | | | Also try to infer its subexpressions and set type expectations whenever possible.
| * | Implement type inference for boolean operatorsMarcus Klaas de Vries2019-01-056-4/+92
| |/
* | kill module sourceAleksey Kladov2019-01-068-194/+156
| |
* | move submodule computationt to module_treeAleksey Kladov2019-01-064-53/+39
| |
* | fix the testAleksey Kladov2019-01-061-2/+2
| |
* | fix after rebaseAleksey Kladov2019-01-061-1/+2
| |
* | flatten module structureAleksey Kladov2019-01-0613-436/+431
| |
* | adjust commentsAleksey Kladov2019-01-062-5/+8
| |
* | fix ra_analysis to work with the new APIAleksey Kladov2019-01-064-7/+12
| |
* | split module source into decl/definAleksey Kladov2019-01-066-32/+106
| |
* | kill old moduleAleksey Kladov2019-01-067-233/+66
| |
* | add parent & resolve_pathAleksey Kladov2019-01-064-5/+67
| |
* | make source cancelableAleksey Kladov2019-01-061-2/+2
| |
* | make deps cancelableAleksey Kladov2019-01-062-3/+3
| |
* | fix testsAleksey Kladov2019-01-064-20/+42
| |
* | switch source-binders to ModuleAleksey Kladov2019-01-062-9/+20
| |
* | Start code_model::ModuleAleksey Kladov2019-01-064-7/+83
| |
* | move crate to code_model_apiAleksey Kladov2019-01-063-21/+34
| |
* | Merge #441bors[bot]2019-01-0620-254/+1150
|\ \ | | | | | | | | | | | | | | | | | | | | | 441: hir::Expr r=matklad a=flodiebold Still a bit to do, but I already adapted `FnScopes` and thought I'd get feedback already. Co-authored-by: Florian Diebold <[email protected]>
| * | Add fn signature queryFlorian Diebold2019-01-068-7/+86
| | |
| * | Various small code review improvementsFlorian Diebold2019-01-053-26/+27
| | |
| * | Make FnScopes use hir::ExprFlorian Diebold2019-01-0513-313/+533
| | | | | | | | | | | | | | | | | | This was a bit complicated. I've added a wrapper type for now that does the LocalSyntaxPtr <-> ExprId translation; we might want to get rid of that or give it a nicer interface.
| * | Add HIR Expr machineryFlorian Diebold2019-01-059-4/+542
| | |
| * | Add test for invalidation of inferred types when typing inside functionFlorian Diebold2019-01-052-0/+58
| |/ | | | | | | This currently fails, but should work once we have hir::Expr.
* / split_import intention correctly works with use treesAleksey Kladov2019-01-061-1/+13
|/
* fix testsAleksey Kladov2019-01-053-79/+49
|
* show types in local variable hoversAleksey Kladov2019-01-052-10/+27
|
* kill approximatelly_resolve_symbolAleksey Kladov2019-01-054-90/+11
|
* inline goto_defention testsAleksey Kladov2019-01-053-66/+58
|
* move goto_defenition to a separate fileAleksey Kladov2019-01-053-11/+91
|
* introduce separate goto_defenitionAleksey Kladov2019-01-052-3/+9
|
* kill accidentally added fileAleksey Kladov2019-01-051-73/+0
|