Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Change parsing of struct field patterns | Marcus Klaas de Vries | 2019-01-19 | 1 | -14/+14 | |
| | ||||||
* | Move parsing of field pattern lists to the parser (where it belongs) | Marcus Klaas de Vries | 2019-01-19 | 1 | -4/+12 | |
| | ||||||
* | Address issues flagged in review | Marcus Klaas de Vries | 2019-01-19 | 1 | -7/+2 | |
| | ||||||
* | Fixup annotated bindings | Marcus Klaas de Vries | 2019-01-19 | 1 | -10/+8 | |
| | ||||||
* | Add initial (flawed) implementation of binding annotations | Marcus Klaas de Vries | 2019-01-19 | 1 | -1/+48 | |
| | ||||||
* | Implement unlabeled struct field pattern inference | Marcus Klaas de Vries | 2019-01-19 | 1 | -5/+6 | |
| | ||||||
* | Get basic struct pattern type inference working! | Marcus Klaas de Vries | 2019-01-19 | 1 | -20/+19 | |
| | ||||||
* | Create struct patterns up to the hir level | Marcus Klaas de Vries | 2019-01-19 | 1 | -5/+34 | |
| | ||||||
* | Add additional pattern variants | Marcus Klaas de Vries | 2019-01-19 | 1 | -13/+54 | |
| | ||||||
* | Implement array inference | Hirokazu Hata | 2019-01-16 | 1 | -2/+8 | |
| | ||||||
* | Implement rudimentary type inference for unary operators | Marcus Klaas de Vries | 2019-01-15 | 1 | -3/+6 | |
| | ||||||
* | remove Cancelable from funciton body | Aleksey Kladov | 2019-01-15 | 1 | -11/+6 | |
| | ||||||
* | remove Cancelable from navigation target | Aleksey Kladov | 2019-01-15 | 1 | -2/+2 | |
| | ||||||
* | Address issues found in review | Marcus Klaas de Vries | 2019-01-14 | 1 | -10/+8 | |
| | ||||||
* | Give literal expression default values for now | Marcus Klaas de Vries | 2019-01-14 | 1 | -23/+9 | |
| | ||||||
* | Fixup tests | Marcus Klaas de Vries | 2019-01-14 | 1 | -88/+53 | |
| | ||||||
* | Start moving literal interpretation to the AST (WIP) | Marcus Klaas de Vries | 2019-01-14 | 1 | -4/+3 | |
| | ||||||
* | don't try to treat arrays and tuples as literals | Marcus Klaas de Vries | 2019-01-14 | 1 | -18/+1 | |
| | ||||||
* | Use type variables to determine exact type for ambiguous numeric literals | Marcus Klaas de Vries | 2019-01-14 | 1 | -1/+16 | |
| | ||||||
* | Try implementing integer type inference (WIP) | Marcus Klaas de Vries | 2019-01-14 | 1 | -13/+45 | |
| | ||||||
* | Implement type inference for literals (WIP) | Marcus Klaas de Vries | 2019-01-14 | 1 | -2/+76 | |
| | ||||||
* | Implement tuple inference | Hirokazu Hata | 2019-01-13 | 1 | -1/+12 | |
| | ||||||
* | support ref-patterns | Aleksey Kladov | 2019-01-13 | 1 | -1/+11 | |
| | ||||||
* | args -> params | Florian Diebold | 2019-01-12 | 1 | -13/+13 | |
| | ||||||
* | Use name resolution for goto definition | Florian Diebold | 2019-01-10 | 1 | -1/+1 | |
| | ||||||
* | Fix typos in ARCHITECTURE.md and a number of crates | Marcus Klaas de Vries | 2019-01-09 | 1 | -2/+6 | |
| | | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir | |||||
* | move function to code_model_api | Aleksey Kladov | 2019-01-08 | 1 | -4/+1 | |
| | ||||||
* | migrate ra_analysis to new rowan | Aleksey Kladov | 2019-01-08 | 1 | -2/+2 | |
| | ||||||
* | migrate ra_hir to rowan 2.0 | Aleksey Kladov | 2019-01-08 | 1 | -44/+44 | |
| | ||||||
* | Improve types for node_expr / node_pat | Florian Diebold | 2019-01-06 | 1 | -5/+5 | |
| | ||||||
* | Introduce ArenaMap | Florian Diebold | 2019-01-06 | 1 | -9/+9 | |
| | ||||||
* | Use HIR Expr for type inference | Florian Diebold | 2019-01-06 | 1 | -3/+28 | |
| | | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :) | |||||
* | Various small code review improvements | Florian Diebold | 2019-01-05 | 1 | -13/+18 | |
| | ||||||
* | Make FnScopes use hir::Expr | Florian Diebold | 2019-01-05 | 1 | -65/+298 | |
| | | | | | | 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 machinery | Florian Diebold | 2019-01-05 | 1 | -0/+507 | |