Commit graph

285 commits

Author SHA1 Message Date
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
b444fcac2c build: remove unnecessary keys 2023-04-22 17:19:04 +09:00
Shunsuke Shibayama
db9a7fdfd4
Merge pull request #420 from Hanaasagi/fix-stderr 2023-04-22 17:13:18 +09:00
Shunsuke Shibayama
127659673c fix(repl): initialize PyCodeGenerator when REPL fails 2023-04-22 16:45:00 +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
1c6a6b2ec8 feat: add real assert function 2023-04-19 13:23:25 +09:00
Shunsuke Shibayama
d4c566477f fix: symbol mangling 2023-04-19 12:21:55 +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
fd21c1c633 fix: #357 2023-04-17 13:37:27 +09:00
Shunsuke Shibayama
839133863f feat: enhance assert casting 2023-04-16 23:32:52 +09:00
Shunsuke Shibayama
5eb680cb21 fix: #415 2023-04-16 21:13:48 +09:00
Shunsuke Shibayama
62b06022cb fix: visibility bug 2023-04-15 13:27:40 +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
6e9c87f3d7 Update typing.d.er 2023-04-12 00:47:28 +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
d07ceb30e1 fix: sync_to_translation_status.er 2023-04-10 23:37:01 +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
2ac004b51e fix(codegen): eliminate unwraps 2023-04-09 21:06:48 +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
0c47c95f25 feat: check doc comments by the compiler 2023-04-06 23:41:24 +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
b7fb670adf fix: minor bugs 2023-04-02 01:43:05 +09:00
Shunsuke Shibayama
c8ecb9903e refactor: Type::Fluctuation -> Type::Bounded 2023-04-01 22:52:02 +09:00