Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move ScopeEntryWithSyntax | Aleksey Kladov | 2019-04-13 | 1 | -2/+2 |
| | |||||
* | make resolver private | Aleksey Kladov | 2019-04-13 | 1 | -2/+6 |
| | |||||
* | fold ScopeWithSyntax into SourceAnalyzer | Aleksey Kladov | 2019-04-13 | 1 | -2/+2 |
| | |||||
* | introduce SourceAnalyzer | Aleksey Kladov | 2019-04-11 | 1 | -10/+6 |
| | |||||
* | fix typo | Aleksey Kladov | 2019-04-11 | 1 | -6/+6 |
| | |||||
* | type-safer source-map for bindings | Aleksey Kladov | 2019-04-10 | 1 | -13/+15 |
| | |||||
* | Added ArrayExprKind, | Lenard Pratt | 2019-04-07 | 1 | -15/+34 |
| | | | | | changed the display for fixed array types, Added Array Enum to ra_hir/expr | ||||
* | Added inference of array length | Lenard Pratt | 2019-04-07 | 1 | -2/+13 |
| | |||||
* | Parse and infer tuple indices | robojumper | 2019-04-06 | 1 | -1/+4 |
| | |||||
* | Merge #1076 | bors[bot] | 2019-04-02 | 1 | -21/+26 |
|\ | | | | | | | | | | | | | | | | | 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 moved | Lenard Pratt | 2019-04-02 | 1 | -10/+1 |
| | | | | | | | | collect_fn_body_syntax | ||||
| * | Added const bodies and static body to the ast | Lenard Pratt | 2019-04-02 | 1 | -20/+16 |
| | | | | | | | | | | | | and added inference the inference test reduce code duplication | ||||
| * | Added defWithBody | Lenard Pratt | 2019-03-30 | 1 | -11/+29 |
| | | |||||
* | | rename flavor to kind | Aleksey Kladov | 2019-04-02 | 1 | -9/+9 |
| | | |||||
* | | remove flavor | Aleksey Kladov | 2019-04-02 | 1 | -4/+4 |
| | | |||||
* | | intelligently add parens when inlining local varaibles | gfreezy | 2019-04-01 | 1 | -0/+1 |
| | | |||||
* | | switch to new rowan | Aleksey Kladov | 2019-04-01 | 1 | -10/+2 |
|/ | |||||
* | allow dyn diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -2/+2 |
| | |||||
* | diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -2/+13 |
| | |||||
* | Target only the actual operator. | Marco Groppo | 2019-03-24 | 1 | -2/+2 |
| | | | | | Renamed `BinExpr::op()` and `PrefixExpr::op()` to `op_kind`. Now `op()` returns the `SyntaxNode`. | ||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -7/+7 |
| | |||||
* | Refactor primitive types into more orthogonal representation | yanchith | 2019-03-22 | 1 | -4/+6 |
| | |||||
* | make Name::new private | Aleksey Kladov | 2019-03-20 | 1 | -5/+2 |
| | |||||
* | remove comment | Aleksey Kladov | 2019-03-02 | 1 | -1/+0 |
| | |||||
* | remove second way to get the body | Aleksey Kladov | 2019-03-02 | 1 | -4/+0 |
| | |||||
* | rename syntax_mapping as well | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | rename scopes | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | dont store body inside source map | Aleksey Kladov | 2019-03-02 | 1 | -48/+38 |
| | |||||
* | rename syntax-mapping -> source-map | Aleksey Kladov | 2019-03-02 | 1 | -11/+11 |
| | |||||
* | Remove `TypeRef` from item opts which implement TypeAscriptionOwner | Ville Penttinen | 2019-02-27 | 1 | -3/+3 |
| | |||||
* | Handle generic args for method calls | Florian Diebold | 2019-02-16 | 1 | -2/+7 |
| | |||||
* | Add an ra_cli command that analyses all crates in the current workspace | Florian Diebold | 2019-02-10 | 1 | -0/+8 |
| | | | | ... and prints various stats about how many expressions have a type etc. | ||||
* | Fix another crash found when analyzing rustc | Florian Diebold | 2019-02-09 | 1 | -7/+7 |
| | |||||
* | Fix handling of literal patterns | Florian Diebold | 2019-02-09 | 1 | -0/+1 |
| | | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions. | ||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -123/+27 |
| | |||||
* | Some clippy cleanups | kjeremy | 2019-02-06 | 1 | -3/+3 |
| | |||||
* | Cleanup | Florian Diebold | 2019-02-01 | 1 | -6/+2 |
| | |||||
* | Use the new Resolver API for goto def | Florian Diebold | 2019-02-01 | 1 | -0/+4 |
| | |||||
* | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 1 | -3/+15 |
| | |||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 1 | -3/+0 |
| | |||||
* | Implement methods to build a resolver | Florian Diebold | 2019-02-01 | 1 | -52/+77 |
| | |||||
* | Sketching the resolver API | Florian Diebold | 2019-02-01 | 1 | -3/+8 |
| | |||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -2/+2 |
| | |||||
* | Merge #701 | bors[bot] | 2019-01-30 | 1 | -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 expectations | Marcus Klaas de Vries | 2019-01-30 | 1 | -4/+4 |
| | | |||||
| * | Infer type of match guard | Marcus Klaas de Vries | 2019-01-28 | 1 | -1/+7 |
| | | |||||
* | | Rename FnScopes -> ExprScopes | Florian Diebold | 2019-01-30 | 1 | -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 expressions | Aleksey Kladov | 2019-01-26 | 1 | -2/+14 |
| | | | | then is not always a block... | ||||
* | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 1 | -12/+10 |
| | |||||
* | move SyntaxPtr to ra_syntax | Aleksey Kladov | 2019-01-23 | 1 | -24/+26 |
| |