Commit graph

260 commits

Author SHA1 Message Date
Shunsuke Shibayama
c34e013658 fix: ownership checker bug 2024-12-25 16:57:00 +09:00
Shunsuke Shibayama
2d94bfce4f feat: enhance HomogenousTuple 2024-12-22 15:56:18 +09:00
Shunsuke Shibayama
973b0658f4 fix: singleton type bug
impl `List(T, N) <: Mul({M})`
2024-12-22 14:28:00 +09:00
Shunsuke Shibayama
353b4038f8 fix: path resolution bug 2024-11-30 18:01:51 +09:00
Shunsuke Shibayama
8f2936bafd fix: intersection type bug 2024-11-15 00:59:55 +09:00
Shunsuke Shibayama
5bbb421b7f fix: subtype relation bug 2024-11-08 13:14:28 +09:00
Shunsuke Shibayama
6d9025664b feat: improve collections typing 2024-11-04 16:11:44 +09:00
Shunsuke Shibayama
0667644580 feat: add ctypes type decl 2024-11-04 13:04:03 +09:00
Shunsuke Shibayama
6c07d1fbe3 feat: improve min/max typing 2024-11-04 11:48:14 +09:00
Shunsuke Shibayama
87fb4cf6d1 fix: refinement subtyping bug 2024-11-03 10:40:30 +09:00
Shunsuke Shibayama
806c5a91e8 fix: type variable linking bug 2024-11-01 14:14:45 +09:00
Shunsuke Shibayama
b3474e78d6 fix: avoid infinite recursion (2) 2024-10-24 01:55:03 +09:00
Shunsuke Shibayama
01a5938c29 chore: add ast::VarPattern::Phi 2024-10-20 14:25:29 +09:00
Shunsuke Shibayama
e593eadafd chore: improve filter typing 2024-10-18 19:19:28 +09:00
Shunsuke Shibayama
41537f2aba fix: dict type bug 2024-10-17 12:13:34 +09:00
Shunsuke Shibayama
566b9aa3c1 fix: subtype relation bug 2024-10-16 00:41:49 +09:00
Shunsuke Shibayama
1206e50e86 perf: reduce AST/HIR element size
closes #530
2024-10-13 17:51:37 +09:00
Shunsuke Shibayama
c6882fee53 feat: add asyncio type decls 2024-10-06 18:30:08 +09:00
Shunsuke Shibayama
4cd79cbb1a fix: type coercion bug 2024-10-06 17:14:53 +09:00
Shunsuke Shibayama
1d16dd724a fix: minor bugs 2024-10-05 13:59:01 +09:00
Shunsuke Shibayama
80eae7654c fix: dict type bugs 2024-10-02 21:26:59 +09:00
Shunsuke Shibayama
144a05ec6b fix: dict type bug 2024-09-28 00:29:48 +09:00
Shunsuke Shibayama
a129141234 fix: incorrect typing & method resolution 2024-09-26 11:34:15 +09:00
Shunsuke Shibayama
1f5e9cbc9f feat: add Generator
* remove `GenericGenerator`
2024-09-22 21:49:11 +09:00
Shunsuke Shibayama
ebd7707f77 fix: traits can have impls 2024-09-21 22:42:56 +09:00
Shunsuke Shibayama
3366043a2d fix: Dict::get 2024-09-21 20:06:26 +09:00
Shunsuke Shibayama
ff53af0cb6 feat: add RMul, RDiv
* `And` has the default type index
* impl `Dimension` traits
2024-09-20 20:36:55 +09:00
Shunsuke Shibayama
4651a383ae feat: add Dimension and unit module 2024-09-20 18:26:29 +09:00
Shunsuke Shibayama
5009a0c499 feat: runtime collection type 2024-09-19 16:49:47 +09:00
Shunsuke Shibayama
9d88e8d7e7 fix: type variable linking bug 2024-09-17 02:00:51 +09:00
Shunsuke Shibayama
461e91703a fix: union type bug (2) 2024-09-16 00:54:47 +09:00
Shunsuke Shibayama
82bc710827 fix: infinite recursion bug 2024-09-14 21:10:06 +09:00
Shunsuke Shibayama
f9eb562848 fix: infinite recursion bug
add `Immutable` trait (Type: !Immutable)
2024-09-04 20:38:46 +09:00
Shunsuke Shibayama
de92e295dc chore: add Float 2024-09-04 14:13:24 +09:00
Shunsuke Shibayama
b5092e7890
Merge pull request #518 from erg-lang/fix_inf_rec
Fix infinite recursion bugs
2024-09-01 18:23:58 +09:00
Shunsuke Shibayama
9a05f22356 fix: infinite recursion bugs 2024-09-01 18:16:06 +09:00
Shunsuke Shibayama
0bc22e2b73 feat: add float func 2024-09-01 12:54:40 +09:00
Shunsuke Shibayama
fdca32f6a9 fix: eliminate panics 2024-08-28 21:20:13 +09:00
Shunsuke Shibayama
82551ad537 feat: impl some traits for frozenset 2024-08-22 14:31:39 +09:00
Shunsuke Shibayama
af360a52cc fix: constructor typing 2024-08-20 22:26:02 +09:00
Shunsuke Shibayama
8eb8cd7c4a chore: union method type 2024-08-19 12:30:23 +09:00
Shunsuke Shibayama
9682c0ddaf Update classes.rs 2024-08-17 10:41:46 +09:00
Shunsuke Shibayama
2ff3194d69 feat: const classof func 2024-08-15 11:15:22 +09:00
Shunsuke Shibayama
b75325dbdb Update classes.rs 2024-08-13 13:28:38 +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
13eaf8d3a7 fix: eliminate unwrap/unreachable 2024-06-17 13:09:50 +09:00
Shunsuke Shibayama
325ab03b24 fix: ByteArray! is not defined 2024-06-15 14:48:13 +09:00