Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move enum to code_model_api | Aleksey Kladov | 2019-01-08 | 3 | -29/+26 | |
| | ||||||
* | move stuct to code_model_api | Aleksey Kladov | 2019-01-08 | 3 | -22/+27 | |
| | ||||||
* | Merge #455 | bors[bot] | 2019-01-08 | 2 | -16/+62 | |
|\ | | | | | | | | | | | | | | | 455: Import fixpoint loop for name resolution r=matklad a=flodiebold This implements reexports, so only the glob import part of #231 remains. Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | Import fixpoint loop for name resolution | Florian Diebold | 2019-01-08 | 2 | -16/+62 | |
| | | ||||||
* | | convert some if-lets to match | Aleksey Kladov | 2019-01-08 | 1 | -12/+9 | |
| | | ||||||
* | | assist to convert if-let to match | Aleksey Kladov | 2019-01-08 | 4 | -2/+120 | |
| | | ||||||
* | | itroduce trait for ast tokens | Aleksey Kladov | 2019-01-08 | 12 | -59/+34 | |
| | | ||||||
* | | migrate ra_lsp_server to new rowan | Aleksey Kladov | 2019-01-08 | 1 | -1/+1 | |
| | | ||||||
* | | migrate ra_analysis to new rowan | Aleksey Kladov | 2019-01-08 | 12 | -78/+67 | |
| | | ||||||
* | | migrate ra_hir to rowan 2.0 | Aleksey Kladov | 2019-01-08 | 19 | -192/+233 | |
| | | ||||||
* | | migrate ra_cli to new rowan | Aleksey Kladov | 2019-01-08 | 1 | -5/+5 | |
| | | ||||||
* | | migrate ra_db to new rowan | Aleksey Kladov | 2019-01-08 | 3 | -11/+20 | |
| | | ||||||
* | | migrate ra_editor to rowan 0.2 | Aleksey Kladov | 2019-01-08 | 11 | -96/+83 | |
| | | ||||||
* | | wrap TreePtr | Aleksey Kladov | 2019-01-08 | 1 | -7/+45 | |
| | | ||||||
* | | regenerate | Aleksey Kladov | 2019-01-08 | 1 | -3052/+1791 | |
| | | ||||||
* | | switch ra_syntax to new rowan API | Aleksey Kladov | 2019-01-08 | 15 | -327/+266 | |
| | | ||||||
* | | update rowan | Aleksey Kladov | 2019-01-08 | 1 | -1/+1 | |
| | | ||||||
* | | Process explicit type hints for str, bool and char | Marcus Klaas de Vries | 2019-01-07 | 4 | -5/+18 | |
| | | ||||||
* | | Tidy up binary operator type inference; add test file | Marcus Klaas de Vries | 2019-01-07 | 2 | -44/+87 | |
| | | ||||||
* | | Implement type inference for more binary operators | Marcus Klaas de Vries | 2019-01-07 | 4 | -49/+84 | |
| | | | | | | | | | | Mostly just for primitive numeric types such as u32 and f64. Not yet a general solution using trait resolution. | |||||
* | | Add remaining binary operations to AST | Marcus Klaas de Vries | 2019-01-07 | 4 | -1/+73 | |
|/ | ||||||
* | Implement autoderef for field accesses | Florian Diebold | 2019-01-07 | 6 | -43/+185 | |
| | ||||||
* | Merge #442 | bors[bot] | 2019-01-07 | 6 | -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 up | Simon Vandel Sillesen | 2019-01-07 | 1 | -1/+1 | |
| | | ||||||
| * | fix nits | Simon Vandel Sillesen | 2019-01-07 | 1 | -10/+8 | |
| | | ||||||
| * | formatting | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 | |
| | | ||||||
| * | fix tests | Simon Vandel Sillesen | 2019-01-06 | 1 | -10/+72 | |
| | | ||||||
| * | add more tests | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+54 | |
| | | ||||||
| * | add "." as a trigger char on type formatting | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 | |
| | | ||||||
| * | refactor | Simon Vandel Sillesen | 2019-01-06 | 2 | -35/+26 | |
| | | ||||||
| * | format code | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 | |
| | | ||||||
| * | rename unused variable | Simon Vandel Sillesen | 2019-01-06 | 1 | -1/+1 | |
| | | ||||||
| * | indent on typing dot. fixes #439 | Simon Vandel Sillesen | 2019-01-05 | 4 | -39/+103 | |
| | | ||||||
* | | if let -> match | Florian Diebold | 2019-01-07 | 1 | -8/+6 | |
| | | ||||||
* | | Improve types for node_expr / node_pat | Florian Diebold | 2019-01-06 | 3 | -15/+11 | |
| | | ||||||
* | | Introduce ArenaMap | Florian Diebold | 2019-01-06 | 5 | -25/+97 | |
| | | ||||||
* | | Sort ranges in type inference tests | Florian Diebold | 2019-01-06 | 9 | -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 inference | Florian Diebold | 2019-01-06 | 10 | -342/+308 | |
| | | | | | | | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :) | |||||
* | | Show types when hovering patterns as well | Florian Diebold | 2019-01-06 | 1 | -4/+15 | |
| | | ||||||
* | | Merge #440 | bors[bot] | 2019-01-06 | 4 | -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 operators | Marcus Klaas de Vries | 2019-01-06 | 6 | -43/+93 | |
| | | | | | | | | | | | | | | | Also try to infer its subexpressions and set type expectations whenever possible. | |||||
| * | | Implement type inference for boolean operators | Marcus Klaas de Vries | 2019-01-05 | 6 | -4/+92 | |
| |/ | ||||||
* | | kill module source | Aleksey Kladov | 2019-01-06 | 8 | -194/+156 | |
| | | ||||||
* | | move submodule computationt to module_tree | Aleksey Kladov | 2019-01-06 | 4 | -53/+39 | |
| | | ||||||
* | | fix the test | Aleksey Kladov | 2019-01-06 | 1 | -2/+2 | |
| | | ||||||
* | | fix after rebase | Aleksey Kladov | 2019-01-06 | 1 | -1/+2 | |
| | | ||||||
* | | flatten module structure | Aleksey Kladov | 2019-01-06 | 13 | -436/+431 | |
| | | ||||||
* | | adjust comments | Aleksey Kladov | 2019-01-06 | 2 | -5/+8 | |
| | | ||||||
* | | fix ra_analysis to work with the new API | Aleksey Kladov | 2019-01-06 | 4 | -7/+12 | |
| | | ||||||
* | | split module source into decl/defin | Aleksey Kladov | 2019-01-06 | 6 | -32/+106 | |
| | |