Commit graph

202 commits

Author SHA1 Message Date
Shunsuke Shibayama
1df51cb12c feat: add IO! trait 2023-04-29 22:39:12 +09:00
Shunsuke Shibayama
68a233e6c3 fix: type-parameter instantiation bugs
add `itertools` module type definition
2023-04-29 22:38:36 +09:00
Shunsuke Shibayama
f6dc7074b4 Update register.rs 2023-04-29 14:28:13 +09:00
Shunsuke Shibayama
0b0c663792 fix: a type casting bug 2023-04-29 14:20:10 +09:00
Shunsuke Shibayama
a96b0102cd fix: dict subtyping bugs 2023-04-29 11:38:25 +09:00
Shunsuke Shibayama
1ef11fc2b9 feat(els): improve doc-comment display 2023-04-28 23:48:45 +09:00
Shunsuke Shibayama
219611b813 fix: display error instead of crash when ERG_PATH is not found 2023-04-27 16:44:06 +09:00
Shunsuke Shibayama
245d9eee84 fix: dict typing bugs 2023-04-27 15:51:56 +09:00
Shunsuke Shibayama
1e72cf20f1 fix: casting bugs 2023-04-27 13:58:15 +09:00
Shunsuke Shibayama
66cac2ccc2 fix: bugs & remove TypeCmpCache 2023-04-27 13:10:33 +09:00
Shunsuke Shibayama
b3e09f213f fix: type inference failure of as operator
Now the `as` operator is a kind of type ascription, i.e., a special operator.
2023-04-26 23:41:35 +09:00
Shunsuke Shibayama
6cb4e75fea feat: add bit operators &&/||/^^ 2023-04-25 09:55:20 +09:00
Shunsuke Shibayama
20a5231fc0 Update compare.rs 2023-04-24 22:21:40 +09:00
Shunsuke Shibayama
a74309cbb3 fix: type-variable union bugs 2023-04-24 21:48:05 +09:00
Shunsuke Shibayama
0e8dee3cbf feat: implement And type overloading 2023-04-24 21:43:46 +09:00
Shunsuke Shibayama
3b9f56f53f fix: Context::substitute_typaram 2023-04-23 11:38:04 +09:00
Shunsuke Shibayama
1767df5de2 chore: add error msg for debug_assert! 2023-04-23 11:17:10 +09:00
Shunsuke Shibayama
0e070b3572 fix(els): completion bug 2023-04-23 02:00:09 +09:00
Shunsuke Shibayama
3c40fc35e9 fix: #193
and many bugs
2023-04-22 23:43:03 +09:00
Shunsuke Shibayama
3fcd3ab9b1 feat: add Dict! 2023-04-20 11:34:04 +09:00
Shunsuke Shibayama
325d237f09 feat: add Dict.items/copy 2023-04-20 10:44:57 +09:00
Shunsuke Shibayama
e0d8306b3e feat: add Dict.keys/values/get 2023-04-20 02:19:31 +09:00
Shunsuke Shibayama
7d7849b493 fix: unintended behavior for collections 2023-04-19 18:49:27 +09:00
Shunsuke Shibayama
daf01f3cf2 feat: add as operator 2023-04-19 15:20:46 +09:00
Shunsuke Shibayama
3cc168182b feat: add typing.cast 2023-04-19 01:16:39 +09:00
Shunsuke Shibayama
943ee32db2 fix: external module errors were ignored 2023-04-18 19:47:04 +09:00
Shunsuke Shibayama
ffd33015d5 fix: external type resolving 2023-04-18 10:49:02 +09:00
Shunsuke Shibayama
da300b0f02 feat(els): jump to parameter type definitions 2023-04-18 01:01:13 +09:00
Shunsuke Shibayama
e39289d167 Update unify.rs 2023-04-17 17:19:34 +09:00
Shunsuke Shibayama
839133863f feat: enhance assert casting 2023-04-16 23:32:52 +09:00
Shunsuke Shibayama
0d43299cce fix: subroutine-subtyping bugs 2023-04-14 18:32:17 +09:00
Shunsuke Shibayama
2c1a6ffff2 fix: remove Tuple.__call__ 2023-04-14 09:26:45 +09:00
Shunsuke Shibayama
9f110aeef4 fix: infinite recursion bug 2023-04-12 12:48:22 +09:00
Shunsuke Shibayama
4a46e8f5a8 chore(els): display hover etc. even when check fails 2023-04-11 18:55:09 +09:00
Shunsuke Shibayama
a4ace1caae feat: add Array!.d.er 2023-04-11 11:22:24 +09:00
Shunsuke Shibayama
1e1525270f Update eval.rs 2023-04-10 23:52:36 +09:00
Shunsuke Shibayama
fc85265d9f fix: union types bug & multi-pattern def bug 2023-04-10 22:26:46 +09:00
Shunsuke Shibayama
7c8b8a66a1 fix: Context::union/intersection 2023-04-10 11:51:45 +09:00
Shunsuke Shibayama
3ed863cef6 fix: infinite recursion 2023-04-10 00:38:41 +09:00
Shunsuke Shibayama
a484f0ff9a fix: misuse forced_undoable_link 2023-04-07 23:45:10 +09:00
Shunsuke Shibayama
cb8ce481d7 fix: #411 2023-04-07 10:21:06 +09:00
Shunsuke Shibayama
018080be41 fix: nested array bugs 2023-04-05 11:47:15 +09:00
Shunsuke Shibayama
cf0ebc67cf fix: eliminate Box::leak 2023-04-03 20:50:41 +09:00
Shunsuke Shibayama
f00ee2dc74 fix: Context::fields with module types 2023-04-03 11:34:37 +09:00
Shunsuke Shibayama
f39e05ff82 fix: improve error msg of get_attr_type_by_name 2023-04-02 12:36:53 +09:00
Shunsuke Shibayama
c8ecb9903e refactor: Type::Fluctuation -> Type::Bounded 2023-04-01 22:52:02 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
0329b1a2e3 chore: add Dereferencer 2023-04-01 18:08:15 +09:00
Shunsuke Shibayama
7c9970f140 fix: smallest type selection 2023-04-01 08:58:30 +09:00
Shunsuke Shibayama
e232b6a518 fix: sub-unification problem 2023-03-31 00:37:09 +09:00