aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Make pattern inference work w/o proper expecationsMarcus Klaas de Vries2019-01-191-34/+38
|
* Infer pattern types for lambdas and loopsMarcus Klaas de Vries2019-01-191-15/+29
|
* Implement match binding type inference and arm unificationMarcus Klaas de Vries2019-01-191-7/+17
|
* Implement unlabeled struct field pattern inferenceMarcus Klaas de Vries2019-01-191-11/+4
|
* Get basic struct pattern type inference working!Marcus Klaas de Vries2019-01-191-49/+94
|
* Create struct patterns up to the hir levelMarcus Klaas de Vries2019-01-191-0/+2
|
* Add crude implementation of tuplestruct pattern inferenceMarcus Klaas de Vries2019-01-191-26/+55
|
* Work on type inference for ADT patternsMarcus Klaas de Vries2019-01-191-2/+28
|
* Implement type inference for tuples and refsMarcus Klaas de Vries2019-01-191-7/+32
|
* Add additional pattern variantsMarcus Klaas de Vries2019-01-191-0/+5
|
* Add Ty::Array to walk_mutHirokazu Hata2019-01-161-3/+3
|
* Remove unneeded codeHirokazu Hata2019-01-161-2/+2
|
* Fix Ty::ArrayHirokazu Hata2019-01-161-21/+16
|
* Implement array inferenceHirokazu Hata2019-01-161-1/+22
|
* Implement rudimentary type inference for unary operatorsMarcus Klaas de Vries2019-01-151-2/+15
|
* remove Cancelable from type inferenceAleksey Kladov2019-01-151-71/+57
|
* remove Cancelable from TyAleksey Kladov2019-01-151-60/+48
|
* remove Cancelable from idsAleksey Kladov2019-01-151-6/+6
|