aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Correctly build BodySourceMap for macro-expanded expressionsAleksey Kladov2019-09-038-70/+127
|
* slightly simplify expr lowering flowAleksey Kladov2019-09-033-129/+136
|
* clearer ignoreAleksey Kladov2019-09-031-1/+1
|
* remove needless refsAleksey Kladov2019-09-031-2/+2
|
* use recrod terminology for hir::PatAleksey Kladov2019-09-033-8/+7
|
* move expr lowering to lowerAleksey Kladov2019-09-033-653/+667
|
* Merge #1752bors[bot]2019-09-02174-9105/+9432
|\ | | | | | | | | | | | | | | 1752: Always wrap blocks into block expressions r=flodiebold a=matklad This way, things like function bodies are expressions, and we don't have to single them out Co-authored-by: Aleksey Kladov <[email protected]>
| * fix assistsAleksey Kladov2019-09-025-61/+92
| |
| * fix hir for new block syntaxAleksey Kladov2019-09-0214-57/+72
| |
| * fix generated ASTAleksey Kladov2019-09-023-3/+4
| |
| * update test dataAleksey Kladov2019-09-02150-8970/+9245
| |
| * always wrap block into an expressionAleksey Kladov2019-09-025-14/+19
|/
* Merge #1751bors[bot]2019-09-024-11/+8
|\ | | | | | | | | | | | | | | 1751: remove useless trait r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove useless traitAleksey Kladov2019-09-024-11/+8
| |
* | Merge #1750bors[bot]2019-09-021-1/+1
|\ \ | |/ |/| | | | | | | | | | | 1750: remove needless clone r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * remove needless cloneAleksey Kladov2019-09-021-1/+1
|/
* Merge #1749bors[bot]2019-09-029-289/+188
|\ | | | | | | | | | | | | | | 1749: simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * simplifyAleksey Kladov2019-09-026-214/+117
| |
| * cleanupAleksey Kladov2019-09-025-90/+86
|/
* Merge #1737bors[bot]2019-09-027-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 modelFlorian Diebold2019-09-028-60/+107
| | | | | | | | ... and use that instead of exposing the source map.
| * Report type mismatches in analysis-statsFlorian Diebold2019-09-023-8/+44
|/ | | | Only the number usually; each one individually when running with -v.
* Merge #1748bors[bot]2019-09-022-3/+3
|\ | | | | | | | | | | | | | | 1748: fix links r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * fix linksAleksey Kladov2019-09-022-3/+3
| |
* | Merge #1747bors[bot]2019-09-029-4/+120
|\| | | | | | | | | | | | | | | 1747: start GitHub pages r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * start GitHub pagesAleksey Kladov2019-09-029-4/+120
|/
* Merge #1745bors[bot]2019-09-014-11/+8
|\ | | | | | | | | | | | | | | 1745: :arrow_up: once_cell r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: once_cellAleksey Kladov2019-09-014-11/+8
|/
* Merge #1742bors[bot]2019-08-318-221/+172
|\ | | | | | | | | | | | | | | 1742: cleanup main loop r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * cleanup main loopAleksey Kladov2019-08-318-221/+172
|/
* Merge #1740bors[bot]2019-08-309-193/+161
|\ | | | | | | | | | | | | | | 1740: :arrow_up: lsp-server r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * inline thread-workerAleksey Kladov2019-08-306-109/+77
| |
| * :arrow_up: lsp-serverAleksey Kladov2019-08-305-85/+85
| |
* | Merge #1739bors[bot]2019-08-3014-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 repositoryAleksey Kladov2019-08-3014-725/+141
|/
* Merge #1738bors[bot]2019-08-2926-1486/+1446
|\ | | | | | | | | | | | | | | 1738: :arrow_up: insta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * :arrow_up: instaAleksey Kladov2019-08-2926-1486/+1446
|/
* Merge #1680bors[bot]2019-08-273-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 fixesKirill Bulatov2019-08-262-13/+15
| |
| * Remove redundant testsKirill Bulatov2019-08-261-63/+5
| |
| * Fix 'missing Ok in tail expr' validationFlorian Diebold2019-08-261-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_boundFlorian Diebold2019-08-262-30/+66
| |
| * An attempt to add the coercion logic for NeverKirill Bulatov2019-08-262-51/+98
| |
| * Properly coerce never typesKirill Bulatov2019-08-263-57/+46
| |
| * Remove extra inference testKirill Bulatov2019-08-263-26/+0
| |
| * Fix never in if expressionsKirill Bulatov2019-08-263-4/+53
| |
| * Add test marksKirill Bulatov2019-08-263-1/+16
| |
| * Fix match type inference for Never match armsKirill Bulatov2019-08-262-6/+32
| |
| * TestsKirill Bulatov2019-08-261-0/+104
|/
* Merge #1736bors[bot]2019-08-266-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]>