Commit graph

184 commits

Author SHA1 Message Date
Shunsuke Shibayama
f862a3f13a fix: collection bugs 2024-10-03 13:55:10 +09:00
Shunsuke Shibayama
80eae7654c fix: dict type bugs 2024-10-02 21:26:59 +09:00
Shunsuke Shibayama
a49081161b fix: check subtype field types mismatch 2024-10-01 17:32:06 +09:00
Shunsuke Shibayama
144a05ec6b fix: dict type bug 2024-09-28 00:29:48 +09:00
Shunsuke Shibayama
6ed0a1d997 fix: type decl check does not performed 2024-09-22 01:25:31 +09:00
Shunsuke Shibayama
3366043a2d fix: Dict::get 2024-09-21 20:06:26 +09:00
Shunsuke Shibayama
df837d70d3 fix: sub-unification bug 2024-09-17 17:32:13 +09:00
Shunsuke Shibayama
d87c5d552c fix: function subtyping bug 2024-09-15 12:48:33 +09:00
Shunsuke Shibayama
9774a628fb fix: refinement type bug 2024-09-15 01:20:10 +09:00
GreasySlug
6834fbcb8b fix(parser): fix comprehension syntax(#495) 2024-09-08 15:11:01 +09:00
Shunsuke Shibayama
d433bcbcce feat: args expansion 2024-08-20 01:20:42 +09:00
Shunsuke Shibayama
33b0212002 feat: set type variable 2024-08-19 22:45:15 +09:00
Shunsuke Shibayama
b21d018adf fix: __call__ overload bug 2024-08-13 13:02:14 +09:00
Shunsuke Shibayama
0875c7e5c9 fix: structural type check 2024-08-09 13:38:04 +09:00
Shunsuke Shibayama
cb385a86e4 chore: relax occur check
fix #512
2024-05-24 19:08:36 +09:00
Shunsuke Shibayama
50787a075f fix: #510 2024-05-03 13:29:31 +09:00
Shunsuke Shibayama
96f4c1cf98 feat: add {Str, List}.from 2024-04-30 18:44:31 +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
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
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
d7d422dfdc feat: type narrowing with hasattr 2024-03-24 20:52:33 +09:00
Shunsuke Shibayama
ce5eafca9b feat: improve record type narrowing 2024-03-24 18:18:09 +09:00
Shunsuke Shibayama
242171b280 fix: type narrowing bug 2024-03-23 23:54:44 +09:00
Shunsuke Shibayama
ccb2cceea1 fix: class definition bug 2024-03-22 19:43:33 +09:00
Shunsuke Shibayama
7d6ea6cf77 chore: add sub_unify_with_coercion 2024-03-21 14:00:26 +09:00
Shunsuke Shibayama
95e675cccd feat: array unpacking 2024-03-16 13:20:01 +09:00
Shunsuke Shibayama
74e89f6d5b fix: polymorphic type spec instantiation bugs 2024-03-13 22:35:08 +09:00
Shunsuke Shibayama
e38674945b fix: type relation bugs 2024-03-13 12:40:43 +09:00
Shunsuke Shibayama
c9438f215a fix: compile-time eval bug 2024-02-23 23:03:34 +09:00
Shunsuke Shibayama
2eaec5a40e feat: resolve pkgs module path 2024-02-14 01:30:48 +09:00
Shunsuke Shibayama
48cdd2462d feat: add Array.repeat 2024-02-12 01:38:52 +09:00
Shunsuke Shibayama
7a158aace8 fix: closure codegen bug 2024-02-11 13:59:54 +09:00
Shunsuke Shibayama
fce88717b0 feat!: change constructor syntax: C::__new__() -> C() 2024-02-08 02:42:49 +09:00
Shunsuke Shibayama
36fcc8cb79 fix: ownership bug 2024-02-07 19:50:50 +09:00
Shunsuke Shibayama
d660287e08 Merge branch 'main' into torch_d 2024-02-04 18:12:17 +09:00
Shunsuke Shibayama
96239b957c fix: modulo operator bug 2024-02-04 18:11:30 +09:00
Shunsuke Shibayama
3be5d75d05 fix: torch type decls 2024-02-03 20:51:58 +09:00
Shunsuke Shibayama
83aae24317 fix: tqdm invalid type declaration 2024-01-31 12:26:10 +09:00
Shunsuke Shibayama
bedf3e2f4b fix: const Dict::{keys, values, items} 2024-01-30 15:01:19 +09:00
Shunsuke Shibayama
284146843b fix: refinement type bug 2024-01-30 12:18:27 +09:00
Shunsuke Shibayama
7ed39e3281 fix: dependent refinement type bug 2024-01-30 01:06:03 +09:00
Shunsuke Shibayama
5843135df6 test: add assert casting test suites 2024-01-06 15:28:32 +09:00
Shunsuke Shibayama
767d51d48b feat: function downcasting
FIXME: This downcast is unsound, function inputs, output should be checked at runtime
2023-12-31 09:03:40 +09:00
Shunsuke Shibayama
4e3b3e3d21 fix: runtime type checking bug 2023-12-30 10:50:33 +09:00
Shunsuke Shibayama
80872fc50e fix: keyword argument bugs 2023-12-29 17:00:11 +09:00
Shunsuke Shibayama
cf726fe4a8 fix: array type bug 2023-12-29 12:09:59 +09:00
Shunsuke Shibayama
b5f5876631 fix: closure bug 2023-12-28 23:31:09 +09:00