Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | | ||||||
* | | kill old module | Aleksey Kladov | 2019-01-06 | 7 | -233/+66 | |
| | | ||||||
* | | add parent & resolve_path | Aleksey Kladov | 2019-01-06 | 4 | -5/+67 | |
| | | ||||||
* | | make source cancelable | Aleksey Kladov | 2019-01-06 | 1 | -2/+2 | |
| | | ||||||
* | | make deps cancelable | Aleksey Kladov | 2019-01-06 | 2 | -3/+3 | |
| | | ||||||
* | | fix tests | Aleksey Kladov | 2019-01-06 | 4 | -20/+42 | |
| | | ||||||
* | | switch source-binders to Module | Aleksey Kladov | 2019-01-06 | 2 | -9/+20 | |
| | | ||||||
* | | Start code_model::Module | Aleksey Kladov | 2019-01-06 | 4 | -7/+83 | |
| | | ||||||
* | | move crate to code_model_api | Aleksey Kladov | 2019-01-06 | 3 | -21/+34 | |
| | | ||||||
* | | Merge #441 | bors[bot] | 2019-01-06 | 20 | -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 query | Florian Diebold | 2019-01-06 | 8 | -7/+86 | |
| | | | ||||||
| * | | Various small code review improvements | Florian Diebold | 2019-01-05 | 3 | -26/+27 | |
| | | | ||||||
| * | | Make FnScopes use hir::Expr | Florian Diebold | 2019-01-05 | 13 | -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 machinery | Florian Diebold | 2019-01-05 | 9 | -4/+542 | |
| | | | ||||||
| * | | Add test for invalidation of inferred types when typing inside function | Florian Diebold | 2019-01-05 | 2 | -0/+58 | |
| |/ | | | | | | | This currently fails, but should work once we have hir::Expr. | |||||
* / | split_import intention correctly works with use trees | Aleksey Kladov | 2019-01-06 | 1 | -1/+13 | |
|/ | ||||||
* | fix tests | Aleksey Kladov | 2019-01-05 | 3 | -79/+49 | |
| | ||||||
* | show types in local variable hovers | Aleksey Kladov | 2019-01-05 | 2 | -10/+27 | |
| | ||||||
* | kill approximatelly_resolve_symbol | Aleksey Kladov | 2019-01-05 | 4 | -90/+11 | |
| | ||||||
* | inline goto_defention tests | Aleksey Kladov | 2019-01-05 | 3 | -66/+58 | |
| | ||||||
* | move goto_defenition to a separate file | Aleksey Kladov | 2019-01-05 | 3 | -11/+91 | |
| | ||||||
* | introduce separate goto_defenition | Aleksey Kladov | 2019-01-05 | 2 | -3/+9 | |
| | ||||||
* | kill accidentally added file | Aleksey Kladov | 2019-01-05 | 1 | -73/+0 | |
| | ||||||
* | move typeof to hover | Aleksey Kladov | 2019-01-05 | 3 | -18/+18 | |
| | ||||||
* | fold doc_comment into hover | Aleksey Kladov | 2019-01-05 | 3 | -109/+110 | |
| | ||||||
* | move hover implementation to ra_analysis | Aleksey Kladov | 2019-01-05 | 4 | -67/+83 | |
| | ||||||
* | wip | Aleksey Kladov | 2019-01-05 | 1 | -0/+26 | |
| | ||||||
* | Merge #414 | bors[bot] | 2019-01-05 | 1 | -2/+25 | |
|\ | | | | | | | | | | | | | | | 414: textDocument/hover returns both type name and doc_text r=matklad a=h-michael implement #389 Co-authored-by: Hirokazu Hata <[email protected]> |