Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sort ranges in type inference tests | Florian Diebold | 2019-01-06 | 1 | -20/+0 |
| | | | | | Also rename the files to remove the numbers (they don't serve a purpose now that there are only the data files). | ||||
* | Use HIR Expr for type inference | Florian Diebold | 2019-01-06 | 1 | -3/+3 |
| | | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :) | ||||
* | Missing return type means unit, not unknown | Florian Diebold | 2018-12-29 | 1 | -2/+2 |
| | |||||
* | Implement type variables | Florian Diebold | 2018-12-29 | 1 | -0/+20 |
This will really become necessary when we implement generics, but even now, it allows us to reason 'backwards' to infer types of expressions that we didn't understand for some reason. We use ena, the union-find implementation extracted from rustc, to keep track of type variables. |