Commit graph

598 commits

Author SHA1 Message Date
Shunsuke Shibayama
1523515204 fix: type coercion bug 2024-08-11 17:37:11 +09:00
Shunsuke Shibayama
79b1c1394d feat: add ReDef.t_spec 2024-08-11 14:18:15 +09:00
Shunsuke Shibayama
ea8f1ea91f feat: add Bytes methods 2024-08-10 18:40:46 +09:00
Shunsuke Shibayama
0875c7e5c9 fix: structural type check 2024-08-09 13:38:04 +09:00
Shunsuke Shibayama
dcbd328b78 feat: add List.index 2024-08-08 19:59:09 +09:00
Shunsuke Shibayama
a302235c54 chore: fix clippy warns 2024-08-06 19:03:32 +09:00
Shunsuke Shibayama
9e0327a814 fix: inherited class constructor 2024-07-24 16:10:52 +09:00
Shunsuke Shibayama
ceb6121a67 fix: inherited class constructor 2024-07-24 14:33:03 +09:00
Shunsuke Shibayama
1e23c6beb5 chore: add some helper methods 2024-07-06 20:35:22 +09:00
Shunsuke Shibayama
13eaf8d3a7 fix: eliminate unwrap/unreachable 2024-06-17 13:09:50 +09:00
Shunsuke Shibayama
2c9fe263ba fix(els): continue analysis even if errors occur 2024-06-16 19:34:19 +09:00
Shunsuke Shibayama
325ab03b24 fix: ByteArray! is not defined 2024-06-15 14:48:13 +09:00
Shunsuke Shibayama
22cd07a414 chore: improve overload error msg 2024-06-15 14:14:38 +09:00
Shunsuke Shibayama
5cf3acbf16 chore: fix warnings 2024-06-15 12:20:57 +09:00
Shunsuke Shibayama
2282d12a92 fix: unification bug 2024-05-24 20:24:18 +09:00
Shunsuke Shibayama
cb385a86e4 chore: relax occur check
fix #512
2024-05-24 19:08:36 +09:00
Shunsuke Shibayama
559b465888 fix: minor bugs 2024-05-22 16:33:10 +09:00
Shunsuke Shibayama
bb0f4d20fc chore: set recursion call limit to sub_unify 2024-05-17 17:20:18 +09:00
Shunsuke Shibayama
dc7565cb26 fix: type generalization bug 2024-05-17 15:57:16 +09:00
Shunsuke Shibayama
dc1e32f5f4 fix(els): shared reference bugs 2024-05-12 16:37:35 +09:00
Shunsuke Shibayama
0f04d27c0e chore: add Unifier::sub_unify_value 2024-05-08 14:18:37 +09:00
Shunsuke Shibayama
fa2c53461d fix: generalization is not performed for some types 2024-05-07 22:31:17 +09:00
Shunsuke Shibayama
29a70b0632 chore: fix warnings 2024-05-02 23:03:58 +09:00
Shunsuke Shibayama
6945d0c32e fix: eliminate unwraps 2024-05-02 22:16:54 +09:00
Shunsuke Shibayama
96f4c1cf98 feat: add {Str, List}.from 2024-04-30 18:44:31 +09:00
Shunsuke Shibayama
10d1d28022 Update classes.rs 2024-04-29 23:31:11 +09:00
Shunsuke Shibayama
e48311ee0c fix: type inference bug 2024-04-28 22:30:52 +09:00
Shunsuke Shibayama
0ffa23affd fix: trait parameter bug 2024-04-28 18:53:30 +09:00
Shunsuke Shibayama
02a67567d3 fix: tuple iterator bug 2024-04-28 15:28:20 +09:00
Shunsuke Shibayama
63dad2eb26 chore: fix isinstance/issubclass signature 2024-04-27 14:13:28 +09:00
Shunsuke Shibayama
1c699cc2f3 feat: add Sealed trait 2024-04-27 13:52:15 +09:00
Shunsuke Shibayama
86cfe8f81a feat: add HomogenousTuple
fix: iterator bugs
2024-04-27 00:28:03 +09:00
Shunsuke Shibayama
e220381fa2 feat: add some object methods 2024-04-26 12:39:58 +09:00
Shunsuke Shibayama
2887a77f70 fix: mutable type method access bug 2024-04-26 11:59:55 +09:00
Shunsuke Shibayama
44b4b8d82a fix: trait impl check for declared classes 2024-04-26 01:18:25 +09:00
Shunsuke Shibayama
3d7283cb01 fix: {default, variable} parameter bugs 2024-04-24 15:24:05 +09:00
Shunsuke Shibayama
4396695ad6 fix: default parameter bug 2024-04-24 13:54:56 +09:00
Shunsuke Shibayama
1da212565c fix: type instantiation bugs 2024-04-21 00:46:31 +09:00
Shunsuke Shibayama
40c8342d9e fix: declared_in is Some even if not exists 2024-04-20 23:28:23 +09:00
Shunsuke Shibayama
1f88084360 feat: best-effort type instantiation 2024-04-20 22:51:14 +09:00
Shunsuke Shibayama
7f29316a98 feat: filter method can also narrow types 2024-04-05 00:38:38 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
4ac6276ba9 feat: add Iterable methods 2024-03-30 13:26:02 +09:00
Shunsuke Shibayama
107d466e57 chore: eliminate unwraps 2024-03-29 01:35:30 +09:00
Shunsuke Shibayama
8722bb3dd0 perf: cache generalization results 2024-03-26 01:20:56 +09:00
Shunsuke Shibayama
56f06a0a1e chore: eliminate unwraps 2024-03-25 15:14:48 +09:00
Shunsuke Shibayama
ce5eafca9b feat: improve record type narrowing 2024-03-24 18:18:09 +09:00
Shunsuke Shibayama
35f55c62d3 feat: enhance os, random type decls 2024-03-24 13:02:26 +09:00
Shunsuke Shibayama
d881a6ae3e feat: add FileDescriptor and enhance os decls 2024-03-23 11:28:56 +09:00
Shunsuke Shibayama
7d6ea6cf77 chore: add sub_unify_with_coercion 2024-03-21 14:00:26 +09:00