Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #1076 | bors[bot] | 2019-04-02 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | 1076: Const body inference r=flodiebold a=Lapz This is the second part of #887. I've added type inference on const bodies and introduced the DefWithBody containing Function, Const and Static. I want to add tests but im unsure on how I would go about testing that completions work. Co-authored-by: Lenard Pratt <[email protected]> | ||||
| * | Added const bodies and static body to the ast | Lenard Pratt | 2019-04-02 | 1 | -1/+0 |
| | | | | | | | | | | | | and added inference the inference test reduce code duplication | ||||
| * | Added defWithBody | Lenard Pratt | 2019-03-30 | 1 | -0/+2 |
| | | |||||
* | | always produce source for import | Aleksey Kladov | 2019-04-02 | 1 | -1/+1 |
|/ | |||||
* | rename | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | more type safety | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | add typed ids | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | move source_id to a separate file | Aleksey Kladov | 2019-03-26 | 1 | -1/+3 |
| | |||||
* | make macro parsing a query | Aleksey Kladov | 2019-03-26 | 1 | -1/+1 |
| | |||||
* | Basics for trait method resolution | Florian Diebold | 2019-03-25 | 1 | -0/+1 |
| | |||||
* | switch modules to new diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -1/+1 |
| | |||||
* | diagnostics | Aleksey Kladov | 2019-03-25 | 1 | -0/+1 |
| | |||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | TypeName => TypeCtor | Florian Diebold | 2019-03-21 | 1 | -1/+1 |
| | |||||
* | Remove the old variants replaced by Ty::Apply | Florian Diebold | 2019-03-21 | 1 | -1/+1 |
| | |||||
* | remove old macro support | Aleksey Kladov | 2019-03-17 | 1 | -2/+0 |
| | |||||
* | remove ItemMap | Aleksey Kladov | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | Replace module_tree with CrateDefMap | Aleksey Kladov | 2019-03-17 | 1 | -1/+0 |
| | |||||
* | Replace Display by a pretty printing trait for Ty | Florian Diebold | 2019-03-16 | 1 | -1/+1 |
| | | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :) | ||||
* | remove Def | Aleksey Kladov | 2019-03-12 | 1 | -1/+0 |
| | |||||
* | rename scopes | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | Add const type inference | Ville Penttinen | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | Rename Type => TypeAlias | Florian Diebold | 2019-02-24 | 1 | -1/+1 |
| | |||||
* | Implement support for type aliases | Florian Diebold | 2019-02-24 | 1 | -0/+1 |
| | |||||
* | introduce completion presentation | Aleksey Kladov | 2019-02-24 | 1 | -1/+1 |
| | | | | | This module should remove completion rendering boilerplate from the "brains" of completion engine. | ||||
* | Clean up imports a bit | Florian Diebold | 2019-02-24 | 1 | -2/+2 |
| | |||||
* | remove query_definitions | Aleksey Kladov | 2019-02-11 | 1 | -1/+0 |
| | |||||
* | add graph fixture | Aleksey Kladov | 2019-02-11 | 1 | -0/+1 |
| | |||||
* | move assists to a separate crate | Aleksey Kladov | 2019-02-06 | 1 | -2/+1 |
| | |||||
* | Use new Resolver API in type inference | Florian Diebold | 2019-02-01 | 1 | -2/+2 |
| | |||||
* | Sketching the resolver API | Florian Diebold | 2019-02-01 | 1 | -0/+2 |
| | |||||
* | split HirDatabase api | csmoe | 2019-02-01 | 1 | -1/+1 |
| | |||||
* | Rename FnScopes -> ExprScopes | Florian Diebold | 2019-01-30 | 1 | -1/+1 |
| | | | | | The reason for this is that it describes scopes for any body expression, not just that of a function. It did not actually refer to functions at all anymore. | ||||
* | add ability to get strcut field source | Aleksey Kladov | 2019-01-25 | 1 | -1/+1 |
| | |||||
* | move adt to adt | Aleksey Kladov | 2019-01-24 | 1 | -2/+3 |
| | |||||
* | Kill DefId | Aleksey Kladov | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | kill DefKindc | Aleksey Kladov | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | macro-generate froms | Aleksey Kladov | 2019-01-24 | 1 | -0/+12 |
| | |||||
* | new struct id | Aleksey Kladov | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | Change ids strategy | Aleksey Kladov | 2019-01-24 | 1 | -1/+1 |
| | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Add way of getting docs from the code model and use for completion | Jeremy A. Kolb | 2019-01-23 | 1 | -0/+2 |
| | |||||
* | move completion item tests closer to the code | Aleksey Kladov | 2019-01-23 | 1 | -2/+3 |
| | | | | | 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 | 1 | -1/+1 |
| | |||||
* | Implement beginnings of generics | Florian Diebold | 2019-01-19 | 1 | -0/+1 |
| | | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions | ||||
* | Move pattern type inference from adt::StructField to core_model_impl (WIP) | Marcus Klaas de Vries | 2019-01-19 | 1 | -0/+1 |
| | |||||
* | rename LoweredImport -> ImportId | Aleksey Kladov | 2019-01-19 | 1 | -1/+1 |
| | |||||
* | remove Cancelable from type inference | Aleksey Kladov | 2019-01-15 | 1 | -9/+0 |
| | |||||
* | actually produce missing def kinds | Aleksey Kladov | 2019-01-11 | 1 | -0/+2 |
| | |||||
* | envapsulate navigation target better | Aleksey Kladov | 2019-01-11 | 1 | -1/+1 |
| |