aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* remove Cancelable from nameresAleksey Kladov2019-01-151-3/+3
|
* remove Cancelable from fn_scopesAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from funciton bodyAleksey Kladov2019-01-151-1/+1
|
* remove Cancelable from navigation targetAleksey Kladov2019-01-151-3/+3
|
* remove Cancelable from adt APIAleksey Kladov2019-01-151-4/+4
|
* check_canceled does not return ResultAleksey Kladov2019-01-151-1/+1
|
* Address issues found in reviewMarcus Klaas de Vries2019-01-141-1/+1
|
* Fixup testsMarcus Klaas de Vries2019-01-141-21/+25
|
* don't try to treat arrays and tuples as literalsMarcus Klaas de Vries2019-01-141-29/+20
|
* Use type variables to determine exact type for ambiguous numeric literalsMarcus Klaas de Vries2019-01-141-6/+39
|
* Try implementing integer type inference (WIP)Marcus Klaas de Vries2019-01-141-26/+27
|
* Implement type inference for literals (WIP)Marcus Klaas de Vries2019-01-141-1/+32
|
* goto defenition works for type-inferred methodsAleksey Kladov2019-01-131-3/+22
|
* Implement tuple inferenceHirokazu Hata2019-01-131-0/+8
|
* args -> paramsFlorian Diebold2019-01-121-6/+6
|