Commit graph

360 commits

Author SHA1 Message Date
Shunsuke Shibayama
4fd5f30037 WIP 2022-10-07 16:47:33 +09:00
Shunsuke Shibayama
d62ec0f78f WIP 2022-10-07 14:17:06 +09:00
Shunsuke Shibayama
2cf4b5aba8 Add SetTypeSpec 2022-10-07 10:59:58 +09:00
Shunsuke Shibayama
3112fb31a9 Add Eq check 2022-10-06 22:58:44 +09:00
GreasySlug
86203cc242 Add: comments 2022-10-06 20:41:15 +09:00
GreasySlug
129f67b925 Add: builtin Set and Set_mut 2022-10-06 20:40:54 +09:00
GreasySlug
b76b4cce4e Update: translate to zh_ch and zh_tw 2022-10-06 17:10:52 +09:00
Shunsuke Shibayama
31ba27908d Update lower.rs 2022-10-06 12:07:16 +09:00
Shunsuke Shibayama
6b14add8f8 Merge branch 'main' into pr/191 2022-10-06 11:57:49 +09:00
Shunsuke Shibayama
28f0ffeeb4 Update mod.rs 2022-10-06 10:40:18 +09:00
Shunsuke Shibayama
32c07fefcc Update mod.rs 2022-10-06 10:29:04 +09:00
Shunsuke Shibayama
bd4073ec29 Add Context::get_receiver_ctx 2022-10-06 10:19:01 +09:00
Shunsuke Shibayama
1e5d0dd70f Update version (nightly) 2022-10-06 09:18:16 +09:00
Shunsuke Shibayama
e89bb869bf Raise the priority of traits in method search 2022-10-06 09:16:14 +09:00
GreasySlug
d288a3a226 Clean: Avoid using clone and warning of duplicated 2022-10-06 08:48:50 +09:00
Shunsuke Shibayama
59f6046916 Fix method type inference for type variables 2022-10-06 00:27:43 +09:00
Shunsuke Shibayama
6ea4dae122 Impl Show for some builtin types 2022-10-05 21:12:35 +09:00
GreasySlug
0fc413708e Fix: use const set and remove const declare 2022-10-05 14:36:48 +09:00
GreasySlug
bdbfcbd846 Add: emit expr of set 2022-10-05 13:15:50 +09:00
Shunsuke Shibayama
f8fa992930 Update version (nightly) 2022-10-05 11:58:14 +09:00
Shunsuke Shibayama
85c6057d7c Fix subtyping bugs 2022-10-05 11:53:29 +09:00
GreasySlug
bb96853cbe Add: check side-effects and ownership 2022-10-05 09:39:54 +09:00
GreasySlug
ff9c10cfee Update: Change Vec to Set 2022-10-05 09:12:45 +09:00
Shunsuke Shibayama
4d7181f2f0 Add trait implementation check 2022-10-05 02:10:27 +09:00
Shunsuke Shibayama
9751cf5d76 Fix type checking of union/intersection types 2022-10-05 00:43:30 +09:00
Shunsuke Shibayama
29763062af Add ParamTy::KwWithDefault 2022-10-05 00:17:26 +09:00
GreasySlug
66a14e4a8c Fix: import not erg_import 2022-10-04 19:49:30 +09:00
Shunsuke Shibayama
a3f71120ae Fix type inferring bugs 2022-10-04 12:53:05 +09:00
GreasySlug
20cc00d173 Add: impl set with len and register builtin ctx 2022-10-04 08:32:57 +09:00
GreasySlug
70dad0bda6 Clean: use elem not attrs and adjust fmt 2022-10-04 08:32:57 +09:00
Shunsuke Shibayama
18fe30f39c Update effectcheck.rs 2022-10-04 00:54:52 +09:00
Shunsuke Shibayama
6d903d2575 Add procedure assignment check 2022-10-03 23:09:07 +09:00
Shunsuke Shibayama
2f33c9b15d Add Del 2022-10-03 21:44:59 +09:00
Cai Bingjun
85404b27c5
Correct zh_ CN and zh_ TW error message 2022-10-03 20:17:31 +08:00
Shunsuke Shibayama
6fb4ab2dcb Delete useless superclass declaration operations 2022-10-03 20:31:56 +09:00
Shunsuke Shibayama
e5747b725e Impl PartialEq, Eq, Hash for HIR 2022-10-03 19:08:00 +09:00
GreasySlug
6e6edb5d7e Add: lower for the set literal 2022-10-03 17:21:59 +09:00
Shunsuke Shibayama
b6bd3d296e Add type displaying mode 2022-10-03 13:36:24 +09:00
Shunsuke Shibayama
72c209611f Update lower.rs 2022-10-03 12:50:16 +09:00
Shunsuke Shibayama
1846767afa remove todo!()s 2022-10-03 12:25:28 +09:00
Shunsuke Shibayama
894c4a4c38 Update version (v0.5.6) 2022-10-03 11:16:19 +09:00
Shunsuke Shibayama
51b1f01079 Implement anonymous closure 2022-10-03 11:04:06 +09:00
Shunsuke Shibayama
a39790e5fb Update eval.rs 2022-10-03 01:13:54 +09:00
Shunsuke Shibayama
e55ab8c027 Add Show trait 2022-10-03 01:02:49 +09:00
Shunsuke Shibayama
4f6fbb50d0 Delete useless parameters 2022-10-03 00:46:39 +09:00
Shunsuke Shibayama
60bc94058a Changed type of tmp_tv_ctx from &mut to & 2022-10-02 20:12:25 +09:00
Shunsuke Shibayama
a4f0ad4024 Add and, or type parsing 2022-10-02 11:53:15 +09:00
Shunsuke Shibayama
05c434781b Fix a type instantiating bug 2022-10-02 11:37:01 +09:00
Shunsuke Shibayama
3147dfb1d8 Fixed to define subroutine as Type::Failure even if type checking fails 2022-10-01 16:07:03 +09:00
Shunsuke Shibayama
2c15b057de Add occur check 2022-10-01 16:04:28 +09:00