aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fix a ton of typosAleksey Kladov2019-01-211-36/+36
|
* fix the tagAleksey Kladov2019-01-211-3/+5
|
* complete completion sectionAleksey Kladov2019-01-211-0/+34
|
* start completions walkthroughAleksey Kladov2019-01-211-0/+12
|
* write about type inferenceAleksey Kladov2019-01-211-1/+28
|
* source map patternAleksey Kladov2019-01-211-0/+57
|
* guide about recursive macto magicAleksey Kladov2019-01-211-11/+53
|
* start chapter about internersAleksey Kladov2019-01-211-2/+28
|
* finish modules sectionAleksey Kladov2019-01-211-9/+10
|
* add guideAleksey Kladov2019-01-211-0/+364
|
* Merge #582bors[bot]2019-01-216-30/+312
|\ | | | | | | | | | | | | | | 582: Postfix completion r=matklad a=gfreezy resolved #525 Co-authored-by: gfreezy <[email protected]>
| * postfix completiongfreezy2019-01-216-30/+312
| |
* | Merge #581bors[bot]2019-01-211-4/+4
|\ \ | |/ |/| | | | | | | | | | | 581: Typo fix r=DJMcNab a=gfreezy Co-authored-by: gfreezy <[email protected]>
| * typos fixgfreezy2019-01-211-4/+4
|/
* Merge #574bors[bot]2019-01-2054-318/+2206
|\ | | | | | | | | | | | | | | | | 574: refactor completions to use TextEdit instead of InsertText r=matklad a=gfreezy 1. migrate from `insertText` to `TextEdit` from `CompleteItem` 2. use `insta` to test completions Co-authored-by: gfreezy <[email protected]>
| * fix testsgfreezy2019-01-208-19/+19
| |
| * workaround for trigger charactergfreezy2019-01-201-1/+5
| |
| * use a combination of `source_change` and `text_edit` for `CompleteItem`gfreezy2019-01-2048-295/+305
| |
| * refactor to use `remove_range` and `replace_range` instead of TextEditgfreezy2019-01-1947-755/+619
| |
| * ignore unused methodsgfreezy2019-01-191-0/+3
| |
| * refactor completions to use TextEdit instead of InsertTextgfreezy2019-01-1954-313/+2320
| |
* | Merge #580bors[bot]2019-01-203-27/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | 580: extend selection expands macros and can totally panic r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | extend selection expands macros and can totally panicAleksey Kladov2019-01-203-7/+11
| | |
| * | somewhat better nameAleksey Kladov2019-01-202-2/+2
| | |
| * | make matching brace consistentAleksey Kladov2019-01-202-4/+4
| | |
| * | use with_db consistentlyAleksey Kladov2019-01-201-14/+7
|/ /
* | Merge #579bors[bot]2019-01-203-2/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | 579: Fix panic on inferring field access on an enum r=matklad a=flodiebold Seen while skipping through https://youtu.be/ANKBNiSWyfc ;) Co-authored-by: Florian Diebold <[email protected]>
| * | Fix panic on inferring field access on an enumFlorian Diebold2019-01-203-2/+24
|/ /
* | Merge #576bors[bot]2019-01-1921-97/+805
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 576: Beginnings of generics r=matklad a=flodiebold This implements the beginnings of the generics infrastructure; generic parameters for structs work and are correctly substituted in fields. Functions and methods aren't handled at all yet (as the tests show). The name resolution in `ty` really needs refactoring now, I hope to do that next ;) Co-authored-by: Florian Diebold <[email protected]>
| * | Add an assertFlorian Diebold2019-01-191-0/+1
| | |
| * | Generics -> GenericParamsFlorian Diebold2019-01-197-41/+41
| | |
| * | Make generics work in struct patternsFlorian Diebold2019-01-193-17/+87
| | |
| * | Collect generic args in struct variant paths as wellFlorian Diebold2019-01-192-15/+24
| | |
| * | Collect generic args in type pathsFlorian Diebold2019-01-192-8/+100
| | | | | | | | | | | | E.g. `let x: A<X>` is handled correctly.
| * | Make Module impl methods crate-private, update some commentsFlorian Diebold2019-01-193-8/+23
| | |
| * | Add AST/HIR for type args in path segmentsFlorian Diebold2019-01-195-23/+217
| | |
| * | Implement beginnings of genericsFlorian Diebold2019-01-1913-82/+288
| | | | | | | | | | | | | | | | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
| * | Add some testsFlorian Diebold2019-01-194-0/+121
|/ /
* | Merge #573bors[bot]2019-01-191-31/+33
|\ \ | |/ |/| | | | | | | | | | | 573: Refactor/simplify path resolution r=matklad a=flodiebold No functional change, just simplifying a bit. Co-authored-by: Florian Diebold <[email protected]>
| * Refactor/simplify path resolutionFlorian Diebold2019-01-191-31/+33
|/
* Change parsing of struct field patternsMarcus Klaas de Vries2019-01-195-40/+46
|
* Finish move of StructField for pattern type inferenceMarcus Klaas de Vries2019-01-193-31/+46
|
* Replace Expectation by &Ty in `infer_pat` methodMarcus Klaas de Vries2019-01-191-24/+23
|
* Move parsing of field pattern lists to the parser (where it belongs)Marcus Klaas de Vries2019-01-196-64/+71
|
* Move pattern type inference from adt::StructField to core_model_impl (WIP)Marcus Klaas de Vries2019-01-192-16/+16
|
* Address issues flagged in reviewMarcus Klaas de Vries2019-01-194-120/+90
|
* Fix bug in match arm type unificationMarcus Klaas de Vries2019-01-191-1/+1
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-196-30/+54
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-197-5/+97
|
* Make pattern inference work w/o proper expecationsMarcus Klaas de Vries2019-01-192-35/+63
|