aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/expr.rs
Commit message (Collapse)AuthorAgeFilesLines
* make Name::new privateAleksey Kladov2019-03-201-5/+2
|
* remove commentAleksey Kladov2019-03-021-1/+0
|
* remove second way to get the bodyAleksey Kladov2019-03-021-4/+0
|
* rename syntax_mapping as wellAleksey Kladov2019-03-021-1/+1
|
* rename scopesAleksey Kladov2019-03-021-1/+1
|
* dont store body inside source mapAleksey Kladov2019-03-021-48/+38
|
* rename syntax-mapping -> source-mapAleksey Kladov2019-03-021-11/+11
|
* Remove `TypeRef` from item opts which implement TypeAscriptionOwnerVille Penttinen2019-02-271-3/+3
|
* Handle generic args for method callsFlorian Diebold2019-02-161-2/+7
|
* Add an ra_cli command that analyses all crates in the current workspaceFlorian Diebold2019-02-101-0/+8
| | | | ... and prints various stats about how many expressions have a type etc.
* Fix another crash found when analyzing rustcFlorian Diebold2019-02-091-7/+7
|
* Fix handling of literal patternsFlorian Diebold2019-02-091-0/+1
| | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions.
* reformat the worldAleksey Kladov2019-02-081-123/+27
|
* Some clippy cleanupskjeremy2019-02-061-3/+3
|
* CleanupFlorian Diebold2019-02-011-6/+2
|
* Use the new Resolver API for goto defFlorian Diebold2019-02-011-0/+4
|
* Use the new Resolver API in completionFlorian Diebold2019-02-011-3/+15
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-011-3/+0
|
* Implement methods to build a resolverFlorian Diebold2019-02-011-52/+77
|
* Sketching the resolver APIFlorian Diebold2019-02-011-3/+8
|
* split HirDatabase apicsmoe2019-02-011-2/+2
|
* Merge #701bors[bot]2019-01-301-1/+7
|\ | | | | | | | | | | | | | | | | | | 701: Minor type inference tweaks r=flodiebold a=marcusklaas Pass down expectation for reference expressions and type the guard in match expressions. I wasn't able to add a test for the former addition because the type variable previously introduced would always resolve to the right type in the things I tried! Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * Add test for passing on ref expectationsMarcus Klaas de Vries2019-01-301-4/+4
| |
| * Infer type of match guardMarcus Klaas de Vries2019-01-281-1/+7
| |
* | Rename FnScopes -> ExprScopesFlorian Diebold2019-01-301-0/+4
|/ | | | | The reason for this is that it describes scopes for any body expression, not just that of a function. It did not actually refer to functions at all anymore.
* fix AST for if expressionsAleksey Kladov2019-01-261-2/+14
| | | | then is not always a block...
* Functions use new id schemeAleksey Kladov2019-01-241-12/+10
|
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-24/+26
|
* Change parsing of struct field patternsMarcus Klaas de Vries2019-01-191-14/+14
|
* Move parsing of field pattern lists to the parser (where it belongs)Marcus Klaas de Vries2019-01-191-4/+12
|
* Address issues flagged in reviewMarcus Klaas de Vries2019-01-191-7/+2
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-191-10/+8
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-191-1/+48
|
* Implement unlabeled struct field pattern inferenceMarcus Klaas de Vries2019-01-191-5/+6
|
* Get basic struct pattern type inference working!Marcus Klaas de Vries2019-01-191-20/+19
|
* Create struct patterns up to the hir levelMarcus Klaas de Vries2019-01-191-5/+34
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-191-13/+54
|
* Implement array inferenceHirokazu Hata2019-01-161-2/+8
|
* Implement rudimentary type inference for unary operatorsMarcus Klaas de Vries2019-01-151-3/+6
|
* remove Cancelable from funciton bodyAleksey Kladov2019-01-151-11/+6
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-151-2/+2
|
* Address issues found in reviewMarcus Klaas de Vries2019-01-141-10/+8
|
* Give literal expression default values for nowMarcus Klaas de Vries2019-01-141-23/+9
|
* Fixup testsMarcus Klaas de Vries2019-01-141-88/+53
|
* Start moving literal interpretation to the AST (WIP)Marcus Klaas de Vries2019-01-141-4/+3
|
* don't try to treat arrays and tuples as literalsMarcus Klaas de Vries2019-01-141-18/+1
|
* Use type variables to determine exact type for ambiguous numeric literalsMarcus Klaas de Vries2019-01-141-1/+16
|
* Try implementing integer type inference (WIP)Marcus Klaas de Vries2019-01-141-13/+45
|
* Implement type inference for literals (WIP)Marcus Klaas de Vries2019-01-141-2/+76
|
* Implement tuple inferenceHirokazu Hata2019-01-131-1/+12
|