aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Some clippy cleanupskjeremy2019-02-061-4/+4
|
* Make the Resolution variants tuple variantsFlorian Diebold2019-02-011-9/+9
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-011-157/+113
|
* split HirDatabase apicsmoe2019-02-011-1/+1
|
* Merge #701bors[bot]2019-01-301-3/+13
|\ | | | | | | | | | | | | | | | | | | 701: Minor type inference tweaks r=flodiebold a=marcusklaas Pass down expectation for reference expressions and type the guard in match expressions. I wasn't able to add a test for the former addition because the type variable previously introduced would always resolve to the right type in the things I tried! Co-authored-by: Marcus Klaas de Vries <[email protected]>
| * Infer type of match guardMarcus Klaas de Vries2019-01-281-3/+13
| |
* | Rename FnScopes -> ExprScopesFlorian Diebold2019-01-301-4/+4
| | | | | | | | | | 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.
* | Use match-all instead of individual branchesWizardOfMenlo2019-01-281-5/+1
| |
* | Added support for primitive types type inference when using std::ops::NotWizardOfMenlo2019-01-281-3/+11
| |
* | Process second reviewMarcus Klaas de Vries2019-01-271-35/+28
| |
* | Use type information from the turbofishMarcus Klaas de Vries2019-01-271-6/+28
| |
* | Add a FnSig to Ty::FnDefMarcus Klaas de Vries2019-01-271-38/+64
| |
* | Address some issues flagged in reviewMarcus Klaas de Vries2019-01-271-25/+18
| |
* | Add type params to FnSignatureMarcus Klaas de Vries2019-01-271-81/+45
| |
* | Initial implementation of generics for method callsMarcus Klaas de Vries2019-01-271-13/+68
| |
* | First attempt at generic type inference for fnsMarcus Klaas de Vries2019-01-271-12/+49
|/
* Add marksFlorian Diebold2019-01-261-0/+4
|
* Handle cycles in type varsFlorian Diebold2019-01-261-9/+24
| | | | This might be the cause of #587.
* Fix type inference of binops on int/float variablesFlorian Diebold2019-01-251-1/+4
| | | | Fixes #651.
* add ability to get strcut field sourceAleksey Kladov2019-01-251-23/+4
|
* remember where fields resolve to during inferenceAleksey Kladov2019-01-251-9/+19
|
* use positional ids for fieldsAleksey Kladov2019-01-251-52/+38
|
* move adt to adtAleksey Kladov2019-01-241-18/+1
|
* ModuleDef is Def-freeAleksey Kladov2019-01-241-1/+0
|
* Migrate trait & type to new idsAleksey Kladov2019-01-241-1/+3
|
* move consts&statics to new idAleksey Kladov2019-01-241-1/+4
|
* removed untyped typabledefAleksey Kladov2019-01-241-26/+3
|
* move enum variant to the new APIAleksey Kladov2019-01-241-73/+48
|
* macro-generate fromsAleksey Kladov2019-01-241-36/+3
|
* kill unused defsAleksey Kladov2019-01-241-5/+0
|
* migrate enums to new idAleksey Kladov2019-01-241-31/+59
|
* new struct idAleksey Kladov2019-01-241-44/+106
|
* Functions use new id schemeAleksey Kladov2019-01-241-79/+101
|
* Change ids strategyAleksey Kladov2019-01-241-9/+12
| | | | | | | 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
* Fix panic trying to get substs on unknown typeFlorian Diebold2019-01-211-3/+3
| | | | Fixes #585.
* Fix panic on inferring field access on an enumFlorian Diebold2019-01-201-2/+6
|
* Add an assertFlorian Diebold2019-01-191-0/+1
|
* Generics -> GenericParamsFlorian Diebold2019-01-191-19/+19
|
* Make generics work in struct patternsFlorian Diebold2019-01-191-17/+44
|
* Collect generic args in struct variant paths as wellFlorian Diebold2019-01-191-10/+19
|
* Collect generic args in type pathsFlorian Diebold2019-01-191-5/+97
| | | | E.g. `let x: A<X>` is handled correctly.
* Make Module impl methods crate-private, update some commentsFlorian Diebold2019-01-191-2/+5
|
* Implement beginnings of genericsFlorian Diebold2019-01-191-33/+147
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* Finish move of StructField for pattern type inferenceMarcus Klaas de Vries2019-01-191-8/+5
|
* Replace Expectation by &Ty in `infer_pat` methodMarcus Klaas de Vries2019-01-191-24/+23
|
* Move pattern type inference from adt::StructField to core_model_impl (WIP)Marcus Klaas de Vries2019-01-191-16/+15
|
* Address issues flagged in reviewMarcus Klaas de Vries2019-01-191-66/+43
|
* Fix bug in match arm type unificationMarcus Klaas de Vries2019-01-191-1/+1
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-191-13/+16
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-191-1/+25
|