Commit graph

696 commits

Author SHA1 Message Date
Shunsuke Shibayama
e8d98e5431 fix: type comparision bug 2024-10-18 15:14:47 +09:00
Shunsuke Shibayama
5b79854886 fix: type instantiation bug 2024-10-18 12:46:55 +09:00
Shunsuke Shibayama
3afe9d433e fix: type instantiation bug
fix https://github.com/mtshiba/pylyzer/issues/111
2024-10-17 20:20:11 +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
ce1e5ab40d fix: type generalization bug 2024-10-15 16:39:33 +09:00
Shunsuke Shibayama
32528cd72a chore: improve no-attr error hint 2024-10-15 15:53:42 +09:00
Shunsuke Shibayama
f23fdbe3d0 feat(els): method completion by name 2024-10-15 11:04:03 +09:00
Shunsuke Shibayama
1206e50e86 perf: reduce AST/HIR element size
closes #530
2024-10-13 17:51:37 +09:00
Shunsuke Shibayama
17b3fbc5c0 feat(els): impl document link 2024-10-13 00:09:16 +09:00
Shunsuke Shibayama
0e53191efd chore(els): improve method completion 2024-10-11 15:55:52 +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
e273517bb5 fix: type instantiation bug 2024-10-06 12:03:33 +09:00
Shunsuke Shibayama
1d16dd724a fix: minor bugs 2024-10-05 13:59:01 +09:00
Shunsuke Shibayama
5ef1a5ed0b build: update version (nightly.1) 2024-10-04 14:53:51 +09:00
Shunsuke Shibayama
a9cd32d553 chore: Failure == Any 2024-10-04 14:38:34 +09:00
Shunsuke Shibayama
7c2d6ac59a chore: add ConstExpr::map 2024-10-04 13:01:30 +09:00
Shunsuke Shibayama
3066781092 fix: don't pass Ref as arg to recursive calls 2024-10-04 11:16:51 +09:00
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
a290684db8 fix: method inference bug 2024-10-02 12:20:48 +09:00
Shunsuke Shibayama
a849e7c057 fix: instance attributes can't be accessed statically 2024-10-02 00:10:38 +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
1954d27a63 fix: method resolution bug 2024-09-27 17:39:43 +09:00
Shunsuke Shibayama
d90922c190 fix: recursive type bug 2024-09-26 16:45:21 +09:00
Shunsuke Shibayama
6c57ed6cb5 fix: type-instantiation bug 2024-09-26 13:03:30 +09:00
Shunsuke Shibayama
0ce9a1a772 fix: sub-unification bug 2024-09-26 12:12:51 +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
6890d82441 fix: sub-unification bug 2024-09-22 01:51:15 +09:00
Shunsuke Shibayama
6ed0a1d997 fix: type decl check does not performed 2024-09-22 01:25:31 +09:00
Shunsuke Shibayama
9f435706a1 fix(pylyzer): declarations in control flow blocks 2024-09-21 23:38:26 +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
f6145d01a5 fix: sub-unification bug 2024-09-21 16:02:52 +09:00
Shunsuke Shibayama
267c4a7761 fix: overload resolution bug 2024-09-21 15:55:14 +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
df837d70d3 fix: sub-unification bug 2024-09-17 17:32:13 +09:00
Shunsuke Shibayama
a876b34145 Update unify.rs 2024-09-17 02:38:07 +09:00
Shunsuke Shibayama
9d88e8d7e7 fix: type variable linking bug 2024-09-17 02:00:51 +09:00
Shunsuke Shibayama
fd76f56ba4 Revert "debug: mark"
This reverts commit 5eb0a50a23.
2024-09-16 21:32:01 +09:00
Shunsuke Shibayama
6781db1588 Merge branch 'main' into perf_or_type 2024-09-16 21:31:53 +09:00
Shunsuke Shibayama
93305f2081 fix: type variable bugs 2024-09-16 21:31:10 +09:00
Shunsuke Shibayama
5eb0a50a23 debug: mark 2024-09-16 14:38:36 +09:00
Shunsuke Shibayama
461e91703a fix: union type bug (2) 2024-09-16 00:54:47 +09:00
Shunsuke Shibayama
3b9bbdf1a5 fix: union type bug 2024-09-15 17:11:06 +09:00