aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix another crashFlorian Diebold2019-02-122-0/+31
|
* Implement completion for associated itemsLaurențiu Nicola2019-02-121-0/+20
|
* replace clone with copyAleksey Kladov2019-02-121-1/+1
|
* fix obsolete commentAleksey Kladov2019-02-121-2/+2
|
* Add comment and markFlorian Diebold2019-02-091-0/+1
|
* Fix another crash, and try harder to prevent stack overflowsFlorian Diebold2019-02-092-0/+55
|
* Fix another crash found when analyzing rustcFlorian Diebold2019-02-092-0/+31
|
* Fix handling of literal patternsFlorian Diebold2019-02-092-0/+28
| | | | | Wrap them in a LiteralPat node so they can be distinguished from literal expressions.
* Fix two crashes found by running inference on all of rustcFlorian Diebold2019-02-093-0/+60
|
* reformat the worldAleksey Kladov2019-02-082-27/+12
|
* Some clippy cleanupskjeremy2019-02-061-1/+1
|
* Test more Self inferencekjeremy2019-02-042-3/+13
|
* Use new Resolver API in type inferenceFlorian Diebold2019-02-014-36/+24
|
* Go To Implementation for Traitkjeremy2019-01-311-19/+48
|
* Merge #701bors[bot]2019-01-303-15/+26
|\ | | | | | | | | | | | | | | | | | | 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]>
| * Add test for passing on ref expectationsMarcus Klaas de Vries2019-01-302-4/+11
| |
| * Infer type of match guardMarcus Klaas de Vries2019-01-282-11/+15
| |
* | Use Crate instead of CrateIdAleksey Kladov2019-01-301-1/+1
| |
* | Go to Implementation for structs and enumsJeremy Kolb2019-01-301-3/+3
| |
* | Added support for primitive types type inference when using std::ops::NotWizardOfMenlo2019-01-282-12/+30
| |
* | Process second reviewMarcus Klaas de Vries2019-01-272-9/+7
| |
* | Use type information from the turbofishMarcus Klaas de Vries2019-01-273-6/+12
| |
* | Add a FnSig to Ty::FnDefMarcus Klaas de Vries2019-01-276-30/+30
| |
* | Add missing ty test snapshotMarcus Klaas de Vries2019-01-271-0/+23
| |
* | Add type params to FnSignatureMarcus Klaas de Vries2019-01-275-54/+54
| |
* | First attempt at generic type inference for fnsMarcus Klaas de Vries2019-01-271-0/+22
|/
* Add marksFlorian Diebold2019-01-261-0/+5
|
* Handle cycles in type varsFlorian Diebold2019-01-263-0/+62
| | | | This might be the cause of #587.
* fix AST for if expressionsAleksey Kladov2019-01-262-0/+34
| | | | then is not always a block...
* rename source_file -> parseAleksey Kladov2019-01-261-1/+1
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-1/+1
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-1/+1
|
* Fix type inference of binops on int/float variablesFlorian Diebold2019-01-252-0/+26
| | | | Fixes #651.
* new struct idAleksey Kladov2019-01-242-10/+10
|
* Functions use new id schemeAleksey Kladov2019-01-241-2/+2
|
* Change ids strategyAleksey Kladov2019-01-241-14/+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
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-231-1/+1
|
* Update snapsJeremy A. Kolb2019-01-2224-96/+144
|
* Use insta for ty testsFlorian Diebold2019-01-2127-55/+157
|
* Fix panic trying to get substs on unknown typeFlorian Diebold2019-01-212-0/+24
| | | | Fixes #585.
* Fix panic on inferring field access on an enumFlorian Diebold2019-01-202-0/+18
|
* Generics -> GenericParamsFlorian Diebold2019-01-191-2/+2
|
* Make generics work in struct patternsFlorian Diebold2019-01-192-0/+43
|
* Collect generic args in struct variant paths as wellFlorian Diebold2019-01-191-5/+5
|
* Collect generic args in type pathsFlorian Diebold2019-01-191-3/+3
| | | | E.g. `let x: A<X>` is handled correctly.
* Implement beginnings of genericsFlorian Diebold2019-01-194-46/+57
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* Add some testsFlorian Diebold2019-01-194-0/+121
|
* Fixup annotated bindingsMarcus Klaas de Vries2019-01-193-3/+19
|
* Add initial (flawed) implementation of binding annotationsMarcus Klaas de Vries2019-01-191-0/+4
|
* Make pattern inference work w/o proper expecationsMarcus Klaas de Vries2019-01-191-1/+25
|