aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Infer pattern types for lambdas and loopsMarcus Klaas de Vries2019-01-192-15/+39
|
* Implement match binding type inference and arm unificationMarcus Klaas de Vries2019-01-192-8/+25
|
* Implement unlabeled struct field pattern inferenceMarcus Klaas de Vries2019-01-194-47/+26
|
* Get basic struct pattern type inference working!Marcus Klaas de Vries2019-01-193-81/+124
|
* Create struct patterns up to the hir levelMarcus Klaas de Vries2019-01-195-12/+116
|
* Add crude implementation of tuplestruct pattern inferenceMarcus Klaas de Vries2019-01-193-40/+89
|
* Work on type inference for ADT patternsMarcus Klaas de Vries2019-01-192-3/+32
|
* Implement type inference for tuples and refsMarcus Klaas de Vries2019-01-193-7/+58
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-197-62/+142
|
* Add .vscode/settings.json to .gitignoreDJMcNab2019-01-191-0/+1
|
* fix the testAleksey Kladov2019-01-191-1/+3
|
* rename LoweredImport -> ImportIdAleksey Kladov2019-01-198-185/+25
|
* switched to lowerd moduleAleksey Kladov2019-01-199-65/+284
|
* simplifyAleksey Kladov2019-01-191-32/+52
|
* move input module items to the lower moduleAleksey Kladov2019-01-194-204/+211
|
* Corrected the readme on debuggingAndrew Ross2019-01-191-2/+1
|
* Removed gifAndrew Ross2019-01-191-1/+1
| | | | Changed gif link
* more idiomatic codegfreezy2019-01-191-5/+6
|
* prefer inline testsgfreezy2019-01-194-131/+140
|
* fix commentsgfreezy2019-01-194-40/+5
|
* move rename to a new modgfreezy2019-01-198-105/+233
|
* rename modgfreezy2019-01-194-35/+148
|
* make token set a const-fnAleksey Kladov2019-01-198-57/+52
|
* :arrow_up: update rustAleksey Kladov2019-01-195-5/+2
|
* Config for raLspServerPath will be overwritten if __RA_LSP_SERVER_DEBUG is setAndrew Ross2019-01-197-7/+470
| | | | | | | Changed presentation from clear to reveal silent Removed the vscode gitignore entry Added debugging documentation Added tasks and launch configs
* Merge #561bors[bot]2019-01-1714-234/+190
|\ | | | | | | | | | | | | | | 561: :arrow_up: salsa r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>