Commit graph

6 commits

Author SHA1 Message Date
3152db9d32 Update type-checker tests 2022-09-15 19:35:02 +02:00
2f359107c4 Multiple fixes related to the type-checker
- Add more tests
 - Make struct-declarations type-check
 - Split environment into type bindings and variable bindings
 - Fix kind inference adding the wrong element to the env
2022-09-15 11:49:53 +02:00
0eada4068c Add some more type inference tests 2022-09-11 15:27:32 +02:00
85528ad8af Improve handling of polymorphic datatypes 2022-09-11 15:23:22 +02:00
dac8c9d946 First attempt at making the typing diagnositcs prettier 2022-09-09 20:02:35 +02:00
19af942889 Define some tests for the type-checker 2022-09-08 23:33:07 +02:00