Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new struct id | Aleksey Kladov | 2019-01-24 | 11 | -91/+182 |
| | |||||
* | add StructId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 |
| | |||||
* | remove DefKind::Function | Aleksey Kladov | 2019-01-24 | 2 | -6/+4 |
| | |||||
* | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 13 | -201/+297 |
| | |||||
* | add FunctionId | Aleksey Kladov | 2019-01-24 | 1 | -0/+23 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 17 | -355/+277 |
| | | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids | ||||
* | encapsulate hir locations | Aleksey Kladov | 2019-01-24 | 5 | -44/+35 |
| | |||||
* | Add a comment | Jeremy Kolb | 2019-01-24 | 1 | -0/+1 |
| | |||||
* | Add a bunch of new documentation to completions | Jeremy A. Kolb | 2019-01-23 | 1 | -0/+24 |
| | |||||
* | Add way of getting docs from the code model and use for completion | Jeremy A. Kolb | 2019-01-23 | 3 | -13/+61 |
| | |||||
* | drop obsolete comment | Aleksey Kladov | 2019-01-23 | 1 | -1/+0 |
| | |||||
* | assign DefIds when lowering | Aleksey Kladov | 2019-01-23 | 4 | -107/+99 |
| | |||||
* | introduced better typed AstPtr | Aleksey Kladov | 2019-01-23 | 1 | -8/+5 |
| | |||||
* | refactor | Aleksey Kladov | 2019-01-23 | 1 | -98/+81 |
| | |||||
* | simiplify | Aleksey Kladov | 2019-01-23 | 1 | -24/+20 |
| | |||||
* | better names | Aleksey Kladov | 2019-01-23 | 1 | -14/+13 |
| | |||||
* | move SyntaxPtr to ra_syntax | Aleksey Kladov | 2019-01-23 | 5 | -44/+44 |
| | |||||
* | move completion item tests closer to the code | Aleksey Kladov | 2019-01-23 | 2 | -3/+6 |
| | | | | | this is the reason why we need marks: the tests were spread across two files, because I've forgotten that there were tests already | ||||
* | generalize marking infrastructure | Aleksey Kladov | 2019-01-23 | 4 | -84/+4 |
| | |||||
* | fix completion bugs | gfreezy | 2019-01-23 | 3 | -2/+18 |
| | |||||
* | Update snaps | Jeremy A. Kolb | 2019-01-22 | 24 | -96/+144 |
| | |||||
* | Move docs to Function | Jeremy Kolb | 2019-01-22 | 2 | -10/+16 |
| | |||||
* | Thread documentation through FnSignature and CompletionItem | Jeremy Kolb | 2019-01-22 | 2 | -1/+10 |
| | |||||
* | 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 |
| |