CohenArthur
CohenArthur
Fixes #395 - [ ] Add more tests? - [ ] Fix commit history
Requires #654
- [ ] Check for missing fields - [ ] Check type of field arguments
```rust type true; type false; type bool = true | false; ```
```rust type Record(a: int, b: int); where foo = Record(a: 1, b: 2); where bar = foo
e.g. with the following result type: ```rust type Result[T, E] = T | E; func ambiguous() -> Result[int, int] { 15 // Ok or Err? } ``` which we could...
e.g. `15 + 14.3` should hint that operations on an integer can only be done with another integer