Commit graph

988 commits

Author SHA1 Message Date
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
8eb8cd7c4a chore: union method type 2024-08-19 12:30:23 +09:00
Shunsuke Shibayama
4da45eb842 chore: error report delay with variable defs 2024-08-18 13:18:20 +09:00
Shunsuke Shibayama
9682c0ddaf Update classes.rs 2024-08-17 10:41:46 +09:00
Shunsuke Shibayama
06ec103b2e feat: glob import (WIP) 2024-08-17 10:25:17 +09:00
Shunsuke Shibayama
e1ffa2d739 fix: borrow error 2024-08-16 15:00:12 +09:00
Shunsuke Shibayama
2ff3194d69 feat: const classof func 2024-08-15 11:15:22 +09:00
Shunsuke Shibayama
0a040f1afd feat: add typing APIs 2024-08-13 17:35:09 +09:00
Shunsuke Shibayama
b75325dbdb Update classes.rs 2024-08-13 13:28:38 +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
79b1c1394d feat: add ReDef.t_spec 2024-08-11 14:18:15 +09:00
Shunsuke Shibayama
cd9973e800 fix: infinite recursion bug 2024-08-11 14:17:04 +09:00
Shunsuke Shibayama
cb2089135f Update lower.rs 2024-08-10 19:59:22 +09:00
Shunsuke Shibayama
5161fae713 Update unicodedata.d.er 2024-08-10 18:54:18 +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
fef6711218 fix: default param type mismatch errors don't report 2024-08-08 14:39:40 +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
056469b18c Create unicodedata.d.er 2024-07-09 23:55:47 +09:00
Lionel H
0dd9e0876f feat(erg): add subclasshook method in abc.d.er
Add __subclasshook__ magic method which is used to implement the logic
that validates a class correctly conform to an interface.

Signed-off-by: Lionel H <lionel.hubaut@dekimo.com>
2024-07-08 11:10:52 +02:00
Lionel H
2d8a673fee fix(erg_compiler): fix typo in abc.d.er
s/abstruct/abstract/g

Because abstruct does not exists in Python ;)

Signed-off-by: Lionel H <lionel.hubaut@dekimo.com>
2024-07-08 11:07:27 +02:00
Shunsuke Shibayama
fcfa50d8a3 feat: support python package diagnostics 2024-07-07 12:03:10 +09:00
Shunsuke Shibayama
1e23c6beb5 chore: add some helper methods 2024-07-06 20:35:22 +09:00
Shunsuke Shibayama
80394c6e6d Update shutil.d.er 2024-07-05 23:35:07 +09:00
Shunsuke Shibayama
1b6928666e chore: improve loc calculation 2024-07-05 20:08:51 +09:00
Shunsuke Shibayama
2f6717ba4f build: update pyo3 to v0.21 2024-07-02 03:15:28 +09:00
Shunsuke Shibayama
d62bce689b feat: add __future__, fnmatch, graphlib, zoneinfo 2024-06-30 13:13:38 +09:00
Shunsuke Shibayama
f299962ebc feat: add email module 2024-06-22 11:32:48 +09:00
Shunsuke Shibayama
eb061f712b Update typing.d.er 2024-06-22 10:50:02 +09:00
Shunsuke Shibayama
575df7485a chore: fix mod_name 2024-06-19 16:28:48 +09:00
Shunsuke Shibayama
bc23f9d045 chore: improve Type::replace_failure 2024-06-19 01:35:18 +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
ea6e3df982 chore: add log-level-error feature 2024-06-16 13:40:36 +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