Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | remove Cancelable from type inference | Aleksey Kladov | 2019-01-15 | 9 | -119/+88 | |
| | | ||||||
* | | remove Cancelable from Ty | Aleksey Kladov | 2019-01-15 | 6 | -71/+57 | |
| | | ||||||
* | | remove Cancelable from ids | Aleksey Kladov | 2019-01-15 | 6 | -34/+27 | |
| | | ||||||
* | | remove Cancelable from nameres | Aleksey Kladov | 2019-01-15 | 10 | -66/+52 | |
| | | ||||||
* | | remove Cancelable from fn_scopes | Aleksey Kladov | 2019-01-15 | 8 | -13/+13 | |
| | | ||||||
* | | remove Cancelable from funciton body | Aleksey Kladov | 2019-01-15 | 9 | -21/+16 | |
| | | ||||||
* | | remove Cancelable from navigation target | Aleksey Kladov | 2019-01-15 | 11 | -42/+29 | |
| | | ||||||
* | | remove Cancelable from static&const API | Aleksey Kladov | 2019-01-15 | 2 | -15/+12 | |
| | | ||||||
* | | remove Cancelable from adt API | Aleksey Kladov | 2019-01-15 | 8 | -58/+41 | |
| | | ||||||
* | | remove Cancelable from Crate API | Aleksey Kladov | 2019-01-15 | 4 | -10/+10 | |
| | | ||||||
* | | remove Cancelable from Module API, part 2 | Aleksey Kladov | 2019-01-15 | 7 | -33/+28 | |
| | | ||||||
* | | remove Cancelable from Module API | Aleksey Kladov | 2019-01-15 | 6 | -22/+18 | |
| | | ||||||
* | | remove cancelable from symbols | Aleksey Kladov | 2019-01-15 | 5 | -14/+12 | |
| | | ||||||
* | | remove Cancelable from source binders | Aleksey Kladov | 2019-01-15 | 16 | -90/+68 | |
| | | ||||||
* | | remove Cancelable from module_tree_query | Aleksey Kladov | 2019-01-15 | 6 | -31/+28 | |
| | | ||||||
* | | check_canceled does not return Result | Aleksey Kladov | 2019-01-15 | 5 | -7/+19 | |
| | | ||||||
* | | update salsa | Aleksey Kladov | 2019-01-15 | 5 | -6/+7 | |
| | | ||||||
* | | Merge #546 | bors[bot] | 2019-01-15 | 19 | -187/+425 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 546: replace `assert_dbg_eq` with Insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | switch to insta for testing | Aleksey Kladov | 2019-01-15 | 19 | -187/+425 | |
| | | | ||||||
* | | | Merge #485 | bors[bot] | 2019-01-14 | 19 | -130/+625 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 485: Add type inference for a bunch of primitives r=flodiebold a=marcusklaas This PR adds inference for `&str`, `&[u8]`, `char`, `bool`, floats and integers. For floats and integers it uses type variables to infer the exact type, i.e. `u32`, from context when it's not annotated explicitly. I'm not quite happy with the implementation yet, but I think it mostly works now. Co-authored-by: Marcus Klaas de Vries <[email protected]> | |||||
| * | | | Address issues found in review | Marcus Klaas de Vries | 2019-01-14 | 2 | -11/+9 | |
| | | | | ||||||
| * | | | Fix type inference for raw (byte) strings | Marcus Klaas de Vries | 2019-01-14 | 6 | -21/+75 | |
| | | | | ||||||
| * | | | 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 | 12 | -211/+283 | |
| | | | | ||||||
| * | | | Start moving literal interpretation to the AST (WIP) | Marcus Klaas de Vries | 2019-01-14 | 4 | -10/+131 | |
| | | | | ||||||
| * | | | don't try to treat arrays and tuples as literals | Marcus Klaas de Vries | 2019-01-14 | 5 | -57/+27 | |
| | | | | ||||||
| * | | | Use type variables to determine exact type for ambiguous numeric literals | Marcus Klaas de Vries | 2019-01-14 | 6 | -14/+64 | |
| | | | | ||||||
| * | | | Try implementing integer type inference (WIP) | Marcus Klaas de Vries | 2019-01-14 | 8 | -46/+129 | |
| | | | | ||||||
| * | | | Implement type inference for literals (WIP) | Marcus Klaas de Vries | 2019-01-14 | 8 | -5/+166 | |
| |/ / | ||||||
* / / | update cargo_metadata | Aleksey Kladov | 2019-01-14 | 2 | -3/+6 | |
|/ / | ||||||
* | | switch to lsp-types | Aleksey Kladov | 2019-01-14 | 12 | -29/+29 | |
| | | ||||||
* | | Remove duplication | Jeremy Kolb | 2019-01-14 | 1 | -74/+23 | |
| | | ||||||
* | | Add visibility to hover | Jeremy Kolb | 2019-01-14 | 1 | -9/+41 | |
|/ | ||||||
* | target_selection_range is not nullable in the implementation | Aleksey Kladov | 2019-01-13 | 1 | -5/+10 | |
| | ||||||
* | Merge #532 | bors[bot] | 2019-01-13 | 2 | -2/+21 | |
|\ | | | | | | | | | | | | | | | 532: fix go to parent module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | fix go to parent module | Aleksey Kladov | 2019-01-13 | 2 | -2/+21 | |
| | | ||||||
* | | Fix some random typos | Pascal Hertleif | 2019-01-13 | 3 | -10/+10 | |
|/ | ||||||
* | goto defenition works for type-inferred methods | Aleksey Kladov | 2019-01-13 | 2 | -5/+71 | |
| | ||||||
* | fix indent caclulation | Aleksey Kladov | 2019-01-13 | 3 | -11/+51 | |
| | ||||||
* | Merge #520 | bors[bot] | 2019-01-13 | 6 | -3/+74 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | 520: Imprement tuple inference r=flodiebold a=h-michael related #394 I'm sorry I'm late. I try implementing array inference next. Co-authored-by: Hirokazu Hata <[email protected]> | |||||
| * | Fix tuple test case | Hirokazu Hata | 2019-01-13 | 2 | -6/+35 | |
| | | ||||||
| * | Implement tuple inference | Hirokazu Hata | 2019-01-13 | 2 | -1/+20 | |
| | | ||||||
| * | Update TUPLE_EXPR grammar | Hirokazu Hata | 2019-01-13 | 2 | -2/+8 | |
| | | ||||||
| * | Add infer tuple test | Hirokazu Hata | 2019-01-13 | 2 | -0/+17 | |
| | | ||||||
* | | Tweak message shown for query fallback | Pascal Hertleif | 2019-01-13 | 1 | -1/+5 | |
|/ | | | | Small tweak for #518 | |||||
*-. | Merge #517 #518 | bors[bot] | 2019-01-13 | 5 | -51/+114 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 517: gracefully handle cycles in crate graph r=matklad a=matklad 518: Add an explanatory message when we use the Query fallback r=matklad a=DJMcNab Fixes https://github.com/rust-analyzer/rust-analyzer/issues/269. There is no good way to explain it for go_to_def, so I've just fallen back on to_vec. Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: DJMcNab <[email protected]> | |||||
| | * | Add an explanatory message when we use the Query fallback | DJMcNab | 2019-01-13 | 2 | -10/+36 | |
| | | | ||||||
| * | | gracefully handle cycles in crate graph | Aleksey Kladov | 2019-01-13 | 3 | -41/+78 | |
| | | | | | | | | | | | | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles. | |||||
* | | | Merge #519 | bors[bot] | 2019-01-13 | 5 | -11/+46 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 519: support ref-patterns r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | support ref-patterns | Aleksey Kladov | 2019-01-13 | 5 | -11/+46 | |
| |/ |