Commit graph

25 commits

Author SHA1 Message Date
Shunsuke Shibayama
21025096a3 fix: type-var instantiation bugs 2023-11-25 02:56:25 +09:00
Shunsuke Shibayama
4407999c19 feat: add SubrType::kw_var_params 2023-11-12 12:22:48 +09:00
Shunsuke Shibayama
a6336fa896 feat: support inherited refinement types 2023-10-31 12:24:41 +09:00
Shunsuke Shibayama
678c02faf9 feat: support refinement class 2023-10-31 02:23:50 +09:00
Shunsuke Shibayama
f1d71e0dab feat: add [x; _] literal 2023-10-02 20:49:21 +09:00
Shunsuke Shibayama
5f8d744e47 chore: union/intersection subtyping 2023-09-05 09:45:15 +09:00
Shunsuke Shibayama
dc7e0a341d feat: enhance assert casting 2023-08-23 01:52:16 +09:00
Shunsuke Shibayama
2e8810f10d fix: occur check bug 2023-08-18 11:57:54 +09:00
Shunsuke Shibayama
74e1ae8dfc feat: add todo
* fix: default params display
2023-07-07 22:37:45 +09:00
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
d573d07f20 chore: enhance the compile-time evaluator 2023-05-04 22:12:58 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
c8ecb9903e refactor: Type::Fluctuation -> Type::Bounded 2023-04-01 22:52:02 +09:00
Shunsuke Shibayama
0329b1a2e3 chore: add Dereferencer 2023-04-01 18:08:15 +09:00
Shunsuke Shibayama
fc3fe5de0c feat: implement type-narrowing
* `in` narrowing
2023-03-28 02:00:42 +09:00
Shunsuke Shibayama
9b3843b7a4 feat: add Complex, GenericArray, GenericSet 2023-03-24 11:47:46 +09:00
Shunsuke Shibayama
3940f7f36c fix: add __call__ for builtin classes 2023-03-24 10:34:44 +09:00
Shunsuke Shibayama
a5ce33f2c4 refactor: inst (instance) -> imp (impl) 2023-03-19 23:24:00 +09:00
Shunsuke Shibayama
fd99524bbe fix: union/intersection types bugs 2023-03-17 10:18:23 +09:00
Shunsuke Shibayama
2afd47a24a fix: change ParamTy structure 2023-03-17 00:11:30 +09:00
Shunsuke Shibayama
5838eea7ec fix: NotImplementedType 2023-03-16 12:03:47 +09:00
Shunsuke Shibayama
1c8da7f049 fix: refinement types bugs 2023-03-03 13:44:05 +09:00
Shunsuke Shibayama
d0c53e456e test: add type check tests 2023-02-20 22:29:44 +09:00
Shunsuke Shibayama
23a7e2caf3 Add user-defined var-params function 2023-01-26 01:20:35 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_compiler/ty/constructors.rs (Browse further)