Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1749 | bors[bot] | 2019-09-02 | 9 | -289/+188 |
|\ | | | | | | | | | | | | | | | 1749: simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | simplify | Aleksey Kladov | 2019-09-02 | 6 | -214/+117 |
| | | |||||
| * | cleanup | Aleksey Kladov | 2019-09-02 | 5 | -90/+86 |
|/ | |||||
* | Merge #1737 | bors[bot] | 2019-09-02 | 7 | -27/+110 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 1737: Report type mismatches in analysis-stats r=matklad a=flodiebold Only the number usually; each one individually when running with `-v`. Getting the file/line locations for the exprs was really annoying and I had to make some stuff public (that I didn't remember why it would be `pub(crate)`); maybe I missed some easier way? It would be nice to have some general way for mapping locations :thinking: This reports 1768 mismatches on RA currently; from skimming, this seems to be mostly various kinds of coercions, though there were also some other things. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 8 | -60/+107 |
| | | | | | | | | ... and use that instead of exposing the source map. | ||||
| * | Report type mismatches in analysis-stats | Florian Diebold | 2019-09-02 | 3 | -8/+44 |
|/ | | | | Only the number usually; each one individually when running with -v. | ||||
* | Merge #1748 | bors[bot] | 2019-09-02 | 2 | -3/+3 |
|\ | | | | | | | | | | | | | | | 1748: fix links r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | fix links | Aleksey Kladov | 2019-09-02 | 2 | -3/+3 |
| | | |||||
* | | Merge #1747 | bors[bot] | 2019-09-02 | 9 | -4/+120 |
|\| | | | | | | | | | | | | | | | 1747: start GitHub pages r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | start GitHub pages | Aleksey Kladov | 2019-09-02 | 9 | -4/+120 |
|/ | |||||
* | Merge #1745 | bors[bot] | 2019-09-01 | 4 | -11/+8 |
|\ | | | | | | | | | | | | | | | 1745: :arrow_up: once_cell r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | :arrow_up: once_cell | Aleksey Kladov | 2019-09-01 | 4 | -11/+8 |
|/ | |||||
* | Merge #1742 | bors[bot] | 2019-08-31 | 8 | -221/+172 |
|\ | | | | | | | | | | | | | | | 1742: cleanup main loop r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | cleanup main loop | Aleksey Kladov | 2019-08-31 | 8 | -221/+172 |
|/ | |||||
* | Merge #1740 | bors[bot] | 2019-08-30 | 9 | -193/+161 |
|\ | | | | | | | | | | | | | | | 1740: :arrow_up: lsp-server r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | inline thread-worker | Aleksey Kladov | 2019-08-30 | 6 | -109/+77 |
| | | |||||
| * | :arrow_up: lsp-server | Aleksey Kladov | 2019-08-30 | 5 | -85/+85 |
| | | |||||
* | | Merge #1739 | bors[bot] | 2019-08-30 | 14 | -725/+141 |
|\| | | | | | | | | | | | | | | | 1739: move lsp-server to a separate repository r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | move lsp-server to a separate repository | Aleksey Kladov | 2019-08-30 | 14 | -725/+141 |
|/ | |||||
* | Merge #1738 | bors[bot] | 2019-08-29 | 26 | -1486/+1446 |
|\ | | | | | | | | | | | | | | | 1738: :arrow_up: insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | :arrow_up: insta | Aleksey Kladov | 2019-08-29 | 26 | -1486/+1446 |
|/ | |||||
* | Merge #1680 | bors[bot] | 2019-08-27 | 3 | -36/+221 |
|\ | | | | | | | | | | | | | | | | | 1680: Correctly infer match with early return r=flodiebold a=SomeoneToIgnore Fixes #1505 Co-authored-by: Kirill Bulatov <[email protected]> Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Small fixes | Kirill Bulatov | 2019-08-26 | 2 | -13/+15 |
| | | |||||
| * | Remove redundant tests | Kirill Bulatov | 2019-08-26 | 1 | -63/+5 |
| | | |||||
| * | Fix 'missing Ok in tail expr' validation | Florian Diebold | 2019-08-26 | 1 | -3/+4 |
| | | | | | | | | | | Because of the coercion change, the type mismatch now only happens on the block expression. | ||||
| * | Make infer_block not unify; add back calculate_least_upper_bound | Florian Diebold | 2019-08-26 | 2 | -30/+66 |
| | | |||||
| * | An attempt to add the coercion logic for Never | Kirill Bulatov | 2019-08-26 | 2 | -51/+98 |
| | | |||||
| * | Properly coerce never types | Kirill Bulatov | 2019-08-26 | 3 | -57/+46 |
| | | |||||
| * | Remove extra inference test | Kirill Bulatov | 2019-08-26 | 3 | -26/+0 |
| | | |||||
| * | Fix never in if expressions | Kirill Bulatov | 2019-08-26 | 3 | -4/+53 |
| | | |||||
| * | Add test marks | Kirill Bulatov | 2019-08-26 | 3 | -1/+16 |
| | | |||||
| * | Fix match type inference for Never match arms | Kirill Bulatov | 2019-08-26 | 2 | -6/+32 |
| | | |||||
| * | Tests | Kirill Bulatov | 2019-08-26 | 1 | -0/+104 |
|/ | |||||
* | Merge #1736 | bors[bot] | 2019-08-26 | 6 | -450/+802 |
|\ | | | | | | | | | | | | | | | | | | | 1736: Switch to `@types/vscode` and `vscode-test` r=matklad a=bkchr The old `vscode` package is outdated and it is recommened to switch to these two new packages. This also solves a problem of a missing `.d.ts` for `vscode` in Nixos. Co-authored-by: Bastian Köcher <[email protected]> | ||||
| * | Switch to `@types/vscode` and `vscode-test` | Bastian Köcher | 2019-08-26 | 6 | -450/+802 |
| | | | | | | | | | | | | The old `vscode` package is outdated and it is recommened to switch to these two new packages. This also solves a problem of a missing `.d.ts` for `vscode` in Nixos. | ||||
* | | Merge #1735 | bors[bot] | 2019-08-25 | 7 | -15/+25 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 1735: :arrow_up: vfs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | :arrow_up: vfs | Aleksey Kladov | 2019-08-25 | 7 | -15/+25 |
| | | | |||||
* | | | Merge #1734 | bors[bot] | 2019-08-25 | 6 | -5/+319 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1734: Strip indents and empty lines in check_apply_diagnostic_fix_from_position r=matklad a=matklad Co-authored-by: Phil Ellison <[email protected]> | ||||
| * | | | Strip indents and empty lines in check_apply_diagnostic_fix_from_position | Phil Ellison | 2019-08-25 | 1 | -36/+55 |
| | | | | |||||
| * | | | Specify cursor position in ok-wrapping tests, and switch to using ↵ | Phil Ellison | 2019-08-25 | 2 | -35/+31 |
| | | | | | | | | | | | | | | | | analysis_and_position function | ||||
| * | | | Simplify checking return type, add new test | Phil Ellison | 2019-08-25 | 2 | -23/+32 |
| | | | | |||||
| * | | | Fix build for Diagnostic type change | Phil Ellison | 2019-08-25 | 1 | -7/+4 |
| | | | | |||||
| * | | | Cast SyntaxNodePtr to AstPtr directly | Phil Ellison | 2019-08-25 | 2 | -14/+10 |
| | | | | |||||
| * | | | Remove reliance on expr ordering | Phil Ellison | 2019-08-25 | 1 | -10/+4 |
| | | | | |||||
| * | | | cargo format | Phil Ellison | 2019-08-25 | 2 | -23/+23 |
| | | | | |||||
| * | | | Change test to not rely on trait inference | Phil Ellison | 2019-08-25 | 1 | -12/+7 |
| | | | | |||||
| * | | | Check type rather than just name in ok-wrapping diagnostic. Add test for ↵ | Phil Ellison | 2019-08-25 | 3 | -8/+77 |
| | | | | | | | | | | | | | | | | handling generic functions (which currently fails) | ||||
| * | | | Add test that ok-wrapping handles type aliases | Phil Ellison | 2019-08-25 | 1 | -0/+38 |
| | | | | |||||
| * | | | Mock std String and Result types in tests for ok-wrapping diagnostic | Phil Ellison | 2019-08-25 | 3 | -16/+65 |
| | | | | |||||
| * | | | Add type_mismatches to InferenceResult and use this in ok-wrapping code fix | Phil Ellison | 2019-08-25 | 3 | -8/+27 |
| | | | |