Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use insta for ty tests | Florian Diebold | 2019-01-21 | 27 | -55/+157 |
| | |||||
* | Fix panic trying to get substs on unknown type | Florian Diebold | 2019-01-21 | 3 | -3/+27 |
| | | | | Fixes #585. | ||||
* | Fix panic on inferring field access on an enum | Florian Diebold | 2019-01-20 | 3 | -2/+24 |
| | |||||
* | Add an assert | Florian Diebold | 2019-01-19 | 1 | -0/+1 |
| | |||||
* | Generics -> GenericParams | Florian Diebold | 2019-01-19 | 6 | -40/+40 |
| | |||||
* | 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 | 3 | -22/+80 |
| | |||||
* | Implement beginnings of generics | Florian Diebold | 2019-01-19 | 11 | -80/+283 |
| | | | | | | | - 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 |
| | |||||
* | 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 | 1 | -14/+14 |
| | |||||
* | Finish move of StructField for pattern type inference | Marcus Klaas de Vries | 2019-01-19 | 2 | -11/+20 |
| | |||||
* | 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 | 1 | -4/+12 |
| | |||||
* | 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 | 3 | -75/+45 |
| | |||||
* | 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 | 4 | -3/+78 |
| | |||||
* | 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 | 3 | -16/+15 |
| | |||||
* | 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 | 2 | -5/+36 |
| | |||||
* | 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 | 4 | -13/+85 |
| | |||||
* | fix the test | Aleksey Kladov | 2019-01-19 | 1 | -1/+3 |
| | |||||
* | rename LoweredImport -> ImportId | Aleksey Kladov | 2019-01-19 | 7 | -184/+25 |
| | |||||
* | switched to lowerd module | Aleksey Kladov | 2019-01-19 | 7 | -58/+277 |
| | |||||
* | 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 |
| | |||||
* | move rename to a new mod | gfreezy | 2019-01-19 | 1 | -7/+2 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-01-17 | 4 | -113/+78 |
| | |||||
* | Add Ty::Array to walk_mut | Hirokazu Hata | 2019-01-16 | 2 | -35/+35 |
| | |||||
* | Fix test case invalid syntax | Hirokazu Hata | 2019-01-16 | 2 | -47/+47 |
| | |||||
* | Remove unneeded code | Hirokazu Hata | 2019-01-16 | 1 | -2/+2 |
| | |||||
* | Fix infer array test | Hirokazu Hata | 2019-01-16 | 2 | -40/+57 |
| | |||||
* | Fix Ty::Array | Hirokazu Hata | 2019-01-16 | 1 | -21/+16 |
| | |||||
* | Add infer array test | Hirokazu Hata | 2019-01-16 | 2 | -0/+61 |
| | |||||
* | Implement array inference | Hirokazu Hata | 2019-01-16 | 2 | -3/+30 |
| | |||||
* | Implement rudimentary type inference for unary operators | Marcus Klaas de Vries | 2019-01-15 | 4 | -5/+72 |
| | |||||
* | hir is cancelation free | Aleksey Kladov | 2019-01-15 | 2 | -11/+5 |
| | |||||
* | remove Cancelable from type inference | Aleksey Kladov | 2019-01-15 | 6 | -107/+81 |
| | |||||
* | remove Cancelable from Ty | Aleksey Kladov | 2019-01-15 | 5 | -67/+54 |
| |