Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add union to code_model | Aleksey Kladov | 2019-05-23 | 1 | -2/+8 |
| | |||||
* | remove minor code duplication | Aleksey Kladov | 2019-05-20 | 1 | -18/+14 |
| | |||||
* | Use normal iteration instead of walk_mut | Edwin Cheng | 2019-05-20 | 1 | -8/+5 |
| | |||||
* | Add infer for generic default type | Edwin Cheng | 2019-05-19 | 1 | -13/+46 |
| | |||||
* | Handle where clauses in trait solving | Florian Diebold | 2019-05-11 | 1 | -8/+45 |
| | |||||
* | Differentiate Tuple / FnPtr type constructors by cardinality | Florian Diebold | 2019-05-04 | 1 | -2/+5 |
| | | | | | This is necessary because Chalk (reasonably) expects each 'struct' to know how many type parameters it takes. | ||||
* | Chalk integration | Florian Diebold | 2019-05-04 | 1 | -18/+12 |
| | | | | | - add proper canonicalization logic - add conversions from/to Chalk IR | ||||
* | Extract generic_params method to a HasGenericParams trait | Florian Diebold | 2019-04-14 | 1 | -2/+2 |
| | |||||
* | Some cleanup | Florian Diebold | 2019-04-14 | 1 | -2/+5 |
| | |||||
* | More trait infrastructure | Florian Diebold | 2019-04-14 | 1 | -1/+8 |
| | | | | | | | | | | - make it possible to get parent trait from method - add 'obligation' machinery for checking that a type implements a trait (and inferring facts about type variables from that) - handle type parameters of traits (to a certain degree) - improve the hacky implements check to cover enough cases to exercise the handling of traits with type parameters - basic canonicalization (will probably also be done by Chalk) | ||||
* | Get substs for trait refs in impl blocks | Florian Diebold | 2019-04-14 | 1 | -25/+70 |
| | |||||
* | replace todo with fixme | Aleksey Kladov | 2019-03-23 | 1 | -3/+3 |
| | |||||
* | Refactor primitive types into more orthogonal representation | yanchith | 2019-03-22 | 1 | -4/+4 |
| | |||||
* | TypeName => TypeCtor | Florian Diebold | 2019-03-21 | 1 | -18/+18 |
| | |||||
* | Remove the old variants replaced by Ty::Apply | Florian Diebold | 2019-03-21 | 1 | -20/+18 |
| | |||||
* | Represent FnPtr and Tuple using Substs | Florian Diebold | 2019-03-21 | 1 | -2/+2 |
| | |||||
* | make Name::new private | Aleksey Kladov | 2019-03-20 | 1 | -2/+2 |
| | |||||
* | Remove FnSig from FnDef type | Florian Diebold | 2019-03-16 | 1 | -6/+12 |
| | | | | | It doesn't need to be in there since it's just information from the def. Another step towards aligning Ty with Chalk's representation. | ||||
* | Refactor FnSig a bit | Florian Diebold | 2019-03-16 | 1 | -25/+45 |
| | |||||
* | Replace Display by a pretty printing trait for Ty | Florian Diebold | 2019-03-16 | 1 | -17/+6 |
| | | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :) | ||||
* | Add static type inference | Ville Penttinen | 2019-02-25 | 1 | -4/+17 |
| | |||||
* | Add const type inference | Ville Penttinen | 2019-02-25 | 1 | -5/+17 |
| | |||||
* | Rename Type => TypeAlias | Florian Diebold | 2019-02-24 | 1 | -9/+9 |
| | |||||
* | Implement support for type aliases | Florian Diebold | 2019-02-24 | 1 | -9/+23 |
| | |||||
* | Refactor associated method resolution a bit and make it work with generics | Florian Diebold | 2019-02-23 | 1 | -26/+41 |
| | |||||
* | Split ty.rs into several modules | Florian Diebold | 2019-02-23 | 1 | -0/+318 |
It was just getting too big. We now have: - ty: the `Ty` enum and helpers - ty::infer: actual type inference - ty::lower: lowering from HIR to `Ty` - ty::op: helpers for binary operations, currently |