Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | ignore unused methods | gfreezy | 2019-01-19 | 1 | -0/+3 | |
| | | ||||||
| * | refactor completions to use TextEdit instead of InsertText | gfreezy | 2019-01-19 | 54 | -313/+2320 | |
| | | ||||||
* | | Merge #580 | bors[bot] | 2019-01-20 | 3 | -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 panic | Aleksey Kladov | 2019-01-20 | 3 | -7/+11 | |
| | | | ||||||
| * | | somewhat better name | Aleksey Kladov | 2019-01-20 | 2 | -2/+2 | |
| | | | ||||||
| * | | make matching brace consistent | Aleksey Kladov | 2019-01-20 | 2 | -4/+4 | |
| | | | ||||||
| * | | use with_db consistently | Aleksey Kladov | 2019-01-20 | 1 | -14/+7 | |
|/ / | ||||||
* | | Merge #579 | bors[bot] | 2019-01-20 | 3 | -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 enum | Florian Diebold | 2019-01-20 | 3 | -2/+24 | |
|/ / | ||||||
* | | Merge #576 | bors[bot] | 2019-01-19 | 21 | -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 assert | Florian Diebold | 2019-01-19 | 1 | -0/+1 | |
| | | | ||||||
| * | | Generics -> GenericParams | Florian Diebold | 2019-01-19 | 7 | -41/+41 | |
| | | | ||||||
| * | | Make generics work in struct patterns | Florian Diebold | 2019-01-19 | 3 | -17/+87 | |
| | | | ||||||
| * | | Collect generic args in struct variant paths as well | Florian Diebold | 2019-01-19 | 2 | -15/+24 | |
| | | | ||||||
| * | | Collect generic args in type paths | Florian Diebold | 2019-01-19 | 2 | -8/+100 | |
| | | | | | | | | | | | | E.g. `let x: A<X>` is handled correctly. | |||||
| * | | Make Module impl methods crate-private, update some comments | Florian Diebold | 2019-01-19 | 3 | -8/+23 | |
| | | | ||||||
| * | | Add AST/HIR for type args in path segments | Florian Diebold | 2019-01-19 | 5 | -23/+217 | |
| | | | ||||||
| * | | Implement beginnings of generics | Florian Diebold | 2019-01-19 | 13 | -82/+288 | |
| | | | | | | | | | | | | | | | | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions | |||||
| * | | Add some tests | Florian Diebold | 2019-01-19 | 4 | -0/+121 | |
|/ / | ||||||
* | | Merge #573 | bors[bot] | 2019-01-19 | 1 | -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 resolution | Florian Diebold | 2019-01-19 | 1 | -31/+33 | |
|/ | ||||||
* | Change parsing of struct field patterns | Marcus Klaas de Vries | 2019-01-19 | 5 | -40/+46 | |
| | ||||||
* | Finish move of StructField for pattern type inference | Marcus Klaas de Vries | 2019-01-19 | 3 | -31/+46 | |
| | ||||||
* | Replace Expectation by &Ty in `infer_pat` method | Marcus Klaas de Vries | 2019-01-19 | 1 | -24/+23 | |
| | ||||||
* | Move parsing of field pattern lists to the parser (where it belongs) | Marcus Klaas de Vries | 2019-01-19 | 6 | -64/+71 | |
| | ||||||
* | Move pattern type inference from adt::StructField to core_model_impl (WIP) | Marcus Klaas de Vries | 2019-01-19 | 2 | -16/+16 | |
| | ||||||
* | Address issues flagged in review | Marcus Klaas de Vries | 2019-01-19 | 4 | -120/+90 | |
| | ||||||
* | Fix bug in match arm type unification | Marcus Klaas de Vries | 2019-01-19 | 1 | -1/+1 | |
| | ||||||
* | Fixup annotated bindings | Marcus Klaas de Vries | 2019-01-19 | 6 | -30/+54 | |
| | ||||||
* | Add initial (flawed) implementation of binding annotations | Marcus Klaas de Vries | 2019-01-19 | 7 | -5/+97 | |
| | ||||||
* | Make pattern inference work w/o proper expecations | Marcus Klaas de Vries | 2019-01-19 | 2 | -35/+63 | |
| | ||||||
* | Infer pattern types for lambdas and loops | Marcus Klaas de Vries | 2019-01-19 | 2 | -15/+39 | |
| | ||||||
* | Implement match binding type inference and arm unification | Marcus Klaas de Vries | 2019-01-19 | 2 | -8/+25 | |
| | ||||||
* | Implement unlabeled struct field pattern inference | Marcus Klaas de Vries | 2019-01-19 | 4 | -47/+26 | |
| | ||||||
* | Get basic struct pattern type inference working! | Marcus Klaas de Vries | 2019-01-19 | 3 | -81/+124 | |
| | ||||||
* | Create struct patterns up to the hir level | Marcus Klaas de Vries | 2019-01-19 | 5 | -12/+116 | |
| | ||||||
* | Add crude implementation of tuplestruct pattern inference | Marcus Klaas de Vries | 2019-01-19 | 3 | -40/+89 | |
| | ||||||
* | Work on type inference for ADT patterns | Marcus Klaas de Vries | 2019-01-19 | 2 | -3/+32 | |
| | ||||||
* | Implement type inference for tuples and refs | Marcus Klaas de Vries | 2019-01-19 | 3 | -7/+58 | |
| | ||||||
* | Add additional pattern variants | Marcus Klaas de Vries | 2019-01-19 | 7 | -62/+142 | |
| | ||||||
* | Add .vscode/settings.json to .gitignore | DJMcNab | 2019-01-19 | 1 | -0/+1 | |
| | ||||||
* | fix the test | Aleksey Kladov | 2019-01-19 | 1 | -1/+3 | |
| | ||||||
* | rename LoweredImport -> ImportId | Aleksey Kladov | 2019-01-19 | 8 | -185/+25 | |
| | ||||||
* | switched to lowerd module | Aleksey Kladov | 2019-01-19 | 9 | -65/+284 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-01-19 | 1 | -32/+52 | |
| | ||||||
* | move input module items to the lower module | Aleksey Kladov | 2019-01-19 | 4 | -204/+211 | |
| | ||||||
* | Corrected the readme on debugging | Andrew Ross | 2019-01-19 | 1 | -2/+1 | |
| | ||||||
* | Removed gif | Andrew Ross | 2019-01-19 | 1 | -1/+1 | |
| | | | | Changed gif link | |||||
* | more idiomatic code | gfreezy | 2019-01-19 | 1 | -5/+6 | |
| | ||||||
* | prefer inline tests | gfreezy | 2019-01-19 | 4 | -131/+140 | |
| |