Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #728 | bors[bot] | 2019-02-03 | 4 | -230/+28 |
|\ | | | | | | | | | | | | | | | 728: add postfix completion for `dbg!()` with `.dbg` r=matklad a=hdhoang closes #716 Co-authored-by: Hoàng Đức Hiếu <[email protected]> | ||||
| * | fold complete_postfix tests into one | Hoàng Đức Hiếu | 2019-02-03 | 5 | -411/+3 |
| | | |||||
| * | add postfix completion for `dbg!()` with `.dbg` | Hoàng Đức Hiếu | 2019-02-02 | 5 | -6/+212 |
| | | |||||
* | | Merge #727 | bors[bot] | 2019-02-03 | 2 | -1/+53 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 727: Fix macro_rules separator parsing. r=matklad a=jrmuizel macro_rules rules are separated by ';' including an optional ';' at the end Co-authored-by: Jeff Muizelaar <[email protected]> | ||||
| * | | Fill out test a little more | Jeff Muizelaar | 2019-02-03 | 1 | -14/+18 |
| | | | | | | | | | | | | | | | This factors out an assert_expansion function to make things more managable. | ||||
| * | | Fix macro_rules separator parsing. | Jeff Muizelaar | 2019-02-03 | 2 | -1/+49 |
| | | | | | | | | | | | | | | | macro_rules rules are separated by ';' including an optional ';' at the end | ||||
* | | | Merge #726 | bors[bot] | 2019-02-02 | 2 | -0/+0 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 726: Fix number of extern_inner_attributes r=DJMcNab a=DJMcNab bors r+ Co-authored-by: DJMcNab <[email protected]> | ||||
| * | | Fix number of extern_inner_attributes | DJMcNab | 2019-02-02 | 2 | -0/+0 |
|/ / | |||||
* | | Merge #725 | bors[bot] | 2019-02-02 | 6 | -17/+83 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 725: Implement `use as` r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Use aliases in import resolution | Florian Diebold | 2019-02-01 | 1 | -9/+12 |
| | | | |||||
| * | | Pass aliases to ImportData | Florian Diebold | 2019-02-01 | 4 | -8/+47 |
| | | | |||||
| * | | Add test for `use as` | Florian Diebold | 2019-02-01 | 1 | -0/+24 |
|/ / | |||||
* | | Merge #693 | bors[bot] | 2019-02-01 | 26 | -421/+906 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 693: Name resolution refactoring r=matklad a=flodiebold This is still very WIP, but it's becoming quite big and I want to make sure this isn't going in a completely bad direction :sweat_smile:. I'm not really happy with how the path resolution looks, and I'm not sure `PerNs<Resolution>` is the best return type -- there are 'this cannot happen in the (types/values) namespace' cases everywhere. I also want to unify the `resolver` and `nameres` namespaces once I'm done switching everything to `Resolver`. Also, `Resolver` only has a lifetime because it needs to have a reference to the `ItemMap` during import resolution :confused: The differences in the completion snapshots are almost completely just ordering (except it completes `Self` as well now), so I changed it to sort the completions before snapshotting. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | | Some cleanup and additional tests | Florian Diebold | 2019-02-01 | 7 | -31/+138 |
| | | | |||||
| * | | Make the Resolution variants tuple variants | Florian Diebold | 2019-02-01 | 7 | -53/+41 |
| | | | |||||
| * | | Cleanup | Florian Diebold | 2019-02-01 | 7 | -27/+17 |
| | | | |||||
| * | | Use the new Resolver API for goto def | Florian Diebold | 2019-02-01 | 6 | -35/+89 |
| | | | |||||
| * | | Use the new Resolver API in completion | Florian Diebold | 2019-02-01 | 11 | -106/+190 |
| | | | |||||
| * | | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 13 | -250/+296 |
| | | | |||||
| * | | Implement methods to build a resolver | Florian Diebold | 2019-02-01 | 5 | -73/+166 |
| | | | |||||
| * | | Sketching the resolver API | Florian Diebold | 2019-02-01 | 8 | -11/+134 |
|/ / | |||||
* | | Merge #718 | bors[bot] | 2019-02-01 | 21 | -115/+162 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 718: split HirDatabase r=matklad a=csmoe Closes #706 Co-authored-by: csmoe <[email protected]> | ||||
| * | | split HirDatabase api | csmoe | 2019-02-01 | 21 | -106/+147 |
| | | | |||||
| * | | split hirdatabase | csmoe | 2019-02-01 | 1 | -20/+26 |
|/ / | |||||
* | | Merge #722 | bors[bot] | 2019-02-01 | 5 | -73/+16 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 722: remove hard-coded support for ctry macro r=matklad a=matklad It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well! Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | remove hard-coded support for ctry macro | Aleksey Kladov | 2019-02-01 | 5 | -73/+16 |
|/ / | | | | | | | | | It was used mainly to prevent HirFileId infra from bitroting, but the `vec![]` macro can serve that just as well! | ||||
* | | Merge #721 | bors[bot] | 2019-02-01 | 3 | -26/+140 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 721: Go To Implementation for Trait r=matklad a=kjeremy If on a trait def you can now go to all the impls of that trait in the crate. This is more of #620. Co-authored-by: kjeremy <[email protected]> | ||||
| * | Go To Implementation for Trait | kjeremy | 2019-01-31 | 3 | -26/+140 |
|/ | |||||
* | explain the magic | Aleksey Kladov | 2019-01-31 | 2 | -19/+56 |
| | |||||
* | cleanup the api | Aleksey Kladov | 2019-01-31 | 3 | -56/+70 |
| | |||||
* | cleanup | Aleksey Kladov | 2019-01-31 | 3 | -40/+42 |
| | |||||
* | move test | Aleksey Kladov | 2019-01-31 | 8 | -120/+129 |
| | |||||
* | split macros across crates | Aleksey Kladov | 2019-01-31 | 11 | -29/+57 |
| | |||||
* | preserve token spacing | Aleksey Kladov | 2019-01-31 | 7 | -30/+59 |
| | |||||
* | first test sort-of passes | Aleksey Kladov | 2019-01-31 | 8 | -40/+215 |
| | |||||
* | extract tt cursor | Aleksey Kladov | 2019-01-31 | 4 | -96/+101 |
| | |||||
* | binders boilerplate | Aleksey Kladov | 2019-01-31 | 1 | -2/+42 |
| | |||||
* | more expand boilerplate | Aleksey Kladov | 2019-01-31 | 3 | -4/+5 |
| | |||||
* | more expand boilerplate | Aleksey Kladov | 2019-01-31 | 2 | -2/+24 |
| | |||||
* | expand boilerplate | Aleksey Kladov | 2019-01-31 | 3 | -1/+10 |
| | |||||
* | reshuffle | Aleksey Kladov | 2019-01-31 | 3 | -200/+210 |
| | |||||
* | move macros to a separate crate | Aleksey Kladov | 2019-01-31 | 7 | -23/+50 |
| | |||||
* | parses simple macro | Aleksey Kladov | 2019-01-31 | 3 | -23/+131 |
| | |||||
* | handle multibyte tokens | Aleksey Kladov | 2019-01-31 | 2 | -23/+31 |
| | |||||
* | add eat methods | Aleksey Kladov | 2019-01-31 | 1 | -6/+23 |
| | |||||
* | parsing scaffold | Aleksey Kladov | 2019-01-31 | 1 | -4/+45 |
| | |||||
* | debug impls | Aleksey Kladov | 2019-01-31 | 3 | -2/+47 |
| | |||||
* | add repeats to ast | Aleksey Kladov | 2019-01-31 | 1 | -0/+12 |
| | |||||
* | convert punts and literals | Aleksey Kladov | 2019-01-31 | 4 | -20/+127 |
| | |||||
* | start tt convertions boilerplate | Aleksey Kladov | 2019-01-31 | 2 | -7/+43 |
| |