Commit graph

218 commits

Author SHA1 Message Date
Shunsuke Shibayama
e18049f04e fix: guard type bugs 2024-11-04 15:09:32 +09:00
Shunsuke Shibayama
87fb4cf6d1 fix: refinement subtyping bug 2024-11-03 10:40:30 +09:00
Shunsuke Shibayama
b3474e78d6 fix: avoid infinite recursion (2) 2024-10-24 01:55:03 +09:00
Shunsuke Shibayama
75535a7c0f fix: method resolution bug
fix: performance regression
2024-10-20 16:50:05 +09:00
Shunsuke Shibayama
0e619567ee fix: variable registration bug 2024-10-20 15:16:22 +09:00
Shunsuke Shibayama
01a5938c29 chore: add ast::VarPattern::Phi 2024-10-20 14:25:29 +09:00
Shunsuke Shibayama
9c1e77ecd0 fix: variable registration bug 2024-10-19 17:17:43 +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
566b9aa3c1 fix: subtype relation bug 2024-10-16 00:41:49 +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
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
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
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
a129141234 fix: incorrect typing & method resolution 2024-09-26 11:34:15 +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
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
5eb0a50a23 debug: mark 2024-09-16 14:38:36 +09:00
Shunsuke Shibayama
46c349d25d Update inquire.rs 2024-09-15 14:37:55 +09:00
Shunsuke Shibayama
b0c31370c5 fix: Type::{And, Or}(Set<Type>) 2024-09-14 21:20:05 +09:00
Shunsuke Shibayama
beee3b8800 fix: recursion bugs of structural types 2024-09-10 23:21:39 +09:00
Shunsuke Shibayama
60ea11aa3e fix: eliminate unsafe operations 2024-09-09 11:42:39 +09:00
Shunsuke Shibayama
f9eb562848 fix: infinite recursion bug
add `Immutable` trait (Type: !Immutable)
2024-09-04 20:38:46 +09:00
Shunsuke Shibayama
7cd895a30e chore: change logical operations order 2024-09-02 19:38:41 +09:00
Shunsuke Shibayama
9a05f22356 fix: infinite recursion bugs 2024-09-01 18:16:06 +09:00
Shunsuke Shibayama
fdca32f6a9 fix: eliminate panics 2024-08-28 21:20:13 +09:00
Shunsuke Shibayama
bc50ceeb6a fix: method subtyping 2024-08-21 11:28:17 +09:00
Shunsuke Shibayama
d433bcbcce feat: args expansion 2024-08-20 01:20:42 +09:00
Shunsuke Shibayama
8eb8cd7c4a chore: union method type 2024-08-19 12:30:23 +09:00
Shunsuke Shibayama
e1ffa2d739 fix: borrow error 2024-08-16 15:00:12 +09:00
Shunsuke Shibayama
b21d018adf fix: __call__ overload bug 2024-08-13 13:02:14 +09:00
Shunsuke Shibayama
1523515204 fix: type coercion bug 2024-08-11 17:37:11 +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
2c9fe263ba fix(els): continue analysis even if errors occur 2024-06-16 19:34:19 +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
96f4c1cf98 feat: add {Str, List}.from 2024-04-30 18:44:31 +09:00
Shunsuke Shibayama
02a67567d3 fix: tuple iterator bug 2024-04-28 15:28:20 +09:00
Shunsuke Shibayama
1c699cc2f3 feat: add Sealed trait 2024-04-27 13:52:15 +09:00