Commit graph

10 commits

Author SHA1 Message Date
d19c64845d
Add test regarding assignment and polymorphism 2023-04-12 21:52:10 +02:00
404ac83101 Add a test for module references inside type expressions 2022-09-18 21:36:41 +02:00
8200a0095f Format records in type inference tests a bit 2022-09-16 19:43:21 +02:00
368d2243f1 Add a test for tuple unification 2022-09-16 12:48:41 +02:00
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