Commit graph

13 commits

Author SHA1 Message Date
Shunsuke Shibayama
2282d12a92 fix: unification bug 2024-05-24 20:24:18 +09:00
Shunsuke Shibayama
e48311ee0c fix: type inference bug 2024-04-28 22:30:52 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
bd39393746 feat: type narrowing with filter 2024-03-21 11:56:17 +09:00
Shunsuke Shibayama
e236a65c21 fix: refinement type assert cast bug 2024-02-14 20:09:13 +09:00
Shunsuke Shibayama
134cb1254c fix: test failures 2024-02-09 23:21:05 +09:00
Shunsuke Shibayama
6713ffeaae fix: forward-referenced method inference bug 2023-10-29 21:24:40 +09:00
Shunsuke Shibayama
fdb7c69431 chore: avoid type var recursion 2023-10-12 16:12:10 +09:00
Shunsuke Shibayama
2e8810f10d fix: occur check bug 2023-08-18 11:57:54 +09:00
Shunsuke Shibayama
83beaea214 fix: type substitution bugs 2023-08-15 13:55:21 +09:00
Shunsuke Shibayama
27f191b687 fix: structural Predicate comparison 2023-08-07 23:14:11 +09:00
Shunsuke Shibayama
4dcca2b06d fix(typechecker): type generalization & dereference bugs
* `Context::subtype_of` now has `allow_cast` param. If this is `false`, cast-aware comparisons are not performed.
2023-02-21 17:04:52 +09:00
Shunsuke Shibayama
d0c53e456e test: add type check tests 2023-02-20 22:29:44 +09:00