aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Implement basic inherent method resolutionFlorian Diebold2019-01-121-7/+32
|
* Fix assertion error in unification (hopefully)Florian Diebold2019-01-111-7/+33
| | | | | | | Currently, all types that we handle during inference need to be resolved as far as possible at the time. It's maybe too brittle of an invariant; I need to think how we can do this better. This should fix #484 though, I hope (if it's the same case as I managed to reproduce).
* actually produce missing def kindsAleksey Kladov2019-01-111-2/+6
|
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-6/+14
|
* nicer trailing comma handling in typesAleksey Kladov2019-01-091-9/+13
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-091-2/+2
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* ra_db is independent from editorAleksey Kladov2019-01-081-0/+1
|
* Process explicit type hints for str, bool and charMarcus Klaas de Vries2019-01-071-1/+7
|
* Tidy up binary operator type inference; add test fileMarcus Klaas de Vries2019-01-071-44/+41
|
* Implement type inference for more binary operatorsMarcus Klaas de Vries2019-01-071-11/+74
| | | | | Mostly just for primitive numeric types such as u32 and f64. Not yet a general solution using trait resolution.
* Add remaining binary operations to ASTMarcus Klaas de Vries2019-01-071-0/+1
|