Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add infer array test | Hirokazu Hata | 2019-01-16 | 2 | -0/+61 |
| | |||||
* | Implement array inference | Hirokazu Hata | 2019-01-16 | 2 | -3/+30 |
| | |||||
* | Update ARRAY_EXPR grammar | Hirokazu Hata | 2019-01-16 | 2 | -2/+8 |
| | |||||
* | Merge #536 | bors[bot] | 2019-01-16 | 2 | -1/+30 |
|\ | | | | | | | | | | | | | | | | | | | 536: Introduce variable semicolon block expr r=matklad a=yerke Fix for https://github.com/rust-analyzer/rust-analyzer/issues/504 Feels a bit hacky... Co-authored-by: Yerkebulan Tulibergenov <[email protected]> | ||||
| * | don't need SEMI any more | Yerkebulan Tulibergenov | 2019-01-16 | 1 | -1/+1 |
| | | |||||
| * | delete unused fn | Yerkebulan Tulibergenov | 2019-01-16 | 1 | -14/+0 |
| | | |||||
| * | use has_semi | Yerkebulan Tulibergenov | 2019-01-16 | 1 | -5/+4 |
| | | |||||
| * | add has_semi to ExprStmt | Yerkebulan Tulibergenov | 2019-01-16 | 1 | -0/+9 |
| | | |||||
| * | add semi only if it wasn't present before or after | Yerkebulan Tulibergenov | 2019-01-15 | 1 | -3/+19 |
| | | |||||
| * | add semicolon for block expr in introduce_variable | Yerkebulan Tulibergenov | 2019-01-14 | 1 | -1/+4 |
| | | |||||
| * | we don't need to write var_name after block expr? | Yerkebulan Tulibergenov | 2019-01-14 | 1 | -1/+0 |
| | | |||||
| * | add failing test test_introduce_var_block_expr_second_to_last | Yerkebulan Tulibergenov | 2019-01-14 | 1 | -0/+17 |
| | | |||||
* | | Implement rudimentary type inference for unary operators | Marcus Klaas de Vries | 2019-01-15 | 4 | -5/+72 |
| | | |||||
* | | kill last cancelables | Aleksey Kladov | 2019-01-15 | 3 | -8/+7 |
| | | |||||
* | | remove Canceled from impl of ra_ide_api | Aleksey Kladov | 2019-01-15 | 7 | -79/+43 |
| | | |||||
* | | remove Canceled from API impl | Aleksey Kladov | 2019-01-15 | 8 | -76/+61 |
| | | |||||
* | | hir is cancelation free | Aleksey Kladov | 2019-01-15 | 3 | -12/+6 |
| | | |||||
* | | 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 |
|/ |