Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix handling of const patterns | Florian Diebold | 2020-02-21 | 1 | -1/+1 |
| | | | | | | | | | E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. | ||||
* | Merge #3062 | bors[bot] | 2020-02-11 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | 3062: Implement slice pattern AST > HIR lowering r=jplatte a=jplatte WIP. The necessary changes for parsing are implemented, but actual inference is not yet. Just wanted to upload what I've got so far so it doesn't get duplicated :) Will fix #3043 Co-authored-by: Jonas Platte <[email protected]> | ||||
| * | Implement slice pattern AST > HIR lowering | Jonas Platte | 2020-02-11 | 1 | -3/+3 |
| | | |||||
* | | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 1 | -2/+3 |
|/ | |||||
* | Handle closure return types | Florian Diebold | 2019-12-20 | 1 | -0/+1 |
| | | | | Fixes #2547. | ||||
* | Reduce variants of Expr | oxalica | 2019-11-29 | 1 | -24/+14 |
| | |||||
* | Infer range types | oxalica | 2019-11-28 | 1 | -2/+26 |
| | |||||
* | Add helpful pointer to module docs | Aleksey Kladov | 2019-11-12 | 1 | -0/+2 |
| | |||||
* | Move definition of exprs to hir_def | Aleksey Kladov | 2019-11-12 | 1 | -0/+419 |