Commit graph

273 commits

Author SHA1 Message Date
Shunsuke Shibayama
d6f30924f1 chore: add FreshNameGenerator 2023-06-10 15:31:26 +09:00
Shunsuke Shibayama
5ea48ab88e fix: desugaring leaks 2023-06-10 13:46:10 +09:00
Shunsuke Shibayama
0840d9bf60 fix: subtyping bug 2023-06-10 11:16:30 +09:00
Shunsuke Shibayama
d75ac0c17b chore: add erg_common::io module 2023-06-09 12:11:13 +09:00
Shunsuke Shibayama
d4b78eb020 fix: distinguish between access to class/instance attr 2023-06-08 22:17:52 +09:00
Shunsuke Shibayama
1cbe2de706 fix: __new__ method definition bug 2023-06-08 12:37:58 +09:00
Shunsuke Shibayama
ef30a05708 fix: discard params 2023-06-08 02:33:33 +09:00
Shunsuke Shibayama
4851826b3a fix: type-specification bug 2023-06-07 21:31:12 +09:00
Shunsuke Shibayama
c8ea6f6c9b fix: nested polymorphic type check bug 2023-06-06 00:04:18 +09:00
Shunsuke Shibayama
95af482e22 fix: path resolution bug & subtyping bug 2023-06-05 13:07:06 +09:00
Shunsuke Shibayama
a8abb7709e fix: type declaration bugs 2023-06-04 16:48:21 +09:00
Shunsuke Shibayama
5052ebb077 feat: impl polymorphic type declaration 2023-06-04 01:34:20 +09:00
Shunsuke Shibayama
4137a07b70 chore(els): impl hover/jump for type specification 2023-06-02 10:54:31 +09:00
Shunsuke Shibayama
1d0657c544 fix: overload subtyping 2023-06-01 19:36:25 +09:00
Shunsuke Shibayama
c17d3d147a refactor: Context::register_methods 2023-05-31 11:13:36 +09:00
Shunsuke Shibayama
b8b312caad chore: eliminate unsafe operations 2023-05-28 10:31:39 +09:00
Shunsuke Shibayama
7049faf144 fix: eliminate unsafe type-var updating 2023-05-27 23:09:15 +09:00
Shunsuke Shibayama
c31e93052b fix: infinite recursion bugs 2023-05-25 18:03:43 +09:00
Shunsuke Shibayama
4af0c4c799 feat: add special variables module/global 2023-05-25 16:37:38 +09:00
Shunsuke Shibayama
30eac6dbcf feat: add tempfile module 2023-05-25 14:20:22 +09:00
Shunsuke Shibayama
dab9def08a fix: retry path resolution if failed 2023-05-25 11:58:09 +09:00
Shunsuke Shibayama
a9025507d3 fix: path resolution bugs 2023-05-25 11:25:02 +09:00
Shunsuke Shibayama
ac7a57a094 fix: path resolution bug 2023-05-21 23:30:31 +09:00
Shunsuke Shibayama
829b0d11b6 fix: module accessibility 2023-05-21 22:35:44 +09:00
Shunsuke Shibayama
379caacce9 fix: subtyping bugs 2023-05-20 21:43:53 +09:00
Shunsuke Shibayama
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +09:00
Shunsuke Shibayama
5e8d1b987a chore: Str, Array: Sized 2023-05-18 23:11:54 +09:00
Shunsuke Shibayama
9cb98b8af0 fix: polymorphic subtyping bug 2023-05-18 22:48:31 +09:00
Shunsuke Shibayama
f39836abb0 fix: bugs generating unintended circular references 2023-05-18 18:38:44 +09:00
Shunsuke Shibayama
0b0badfef4 chore: fix minor bugs 2023-05-17 19:56:28 +09:00
Shunsuke Shibayama
c8f71d78f9 refactor: resolve_* (Context -> Input) 2023-05-17 15:46:50 +09:00
Shunsuke Shibayama
7c47794dbe fix: a crash when importing a module itself 2023-05-17 12:53:14 +09:00
Shunsuke Shibayama
4d7eeeb889 fix: add PylyzerStatus::hash
Currently, this hash is a dummy and is actually the size of the file
2023-05-16 01:24:54 +09:00
Shunsuke Shibayama
bb17537178 feat: search site-packages with pyimport 2023-05-16 00:14:59 +09:00
Shunsuke Shibayama
658ed24482 Update generalize.rs 2023-05-14 10:57:28 +09:00
Shunsuke Shibayama
28a6dd72eb Merge branch 'main' into ast-diff 2023-05-13 18:44:53 +09:00
Shunsuke Shibayama
e9ba860dc7 fix: path resolution order of importing 2023-05-13 13:10:53 +09:00
Shunsuke Shibayama
33e1b776cb feat: add ASTDiff and impl lazy compilation 2023-05-13 11:33:48 +09:00
Shunsuke Shibayama
0425dd8ddd refactor: MethodInfo -> MethodPair 2023-05-11 13:58:34 +09:00
Shunsuke Shibayama
8886364da7 fix: sub-unification bugs 2023-05-10 22:47:49 +09:00
Shunsuke Shibayama
470c06675f fix: subtyping bugs 2023-05-10 17:21:05 +09:00
Shunsuke Shibayama
2c5c3d6b6b feat: support *attr funcs with py_compat mode 2023-05-10 16:05:01 +09:00
Shunsuke Shibayama
299db8aebe Update register.rs 2023-05-10 15:46:35 +09:00
Shunsuke Shibayama
8adf6bd50b Update compare.rs 2023-05-10 15:34:39 +09:00
Shunsuke Shibayama
e892277a9c Update generalize.rs 2023-05-10 13:27:15 +09:00
Shunsuke Shibayama
70510f6ae1 fix: a subtyping bug 2023-05-09 23:55:23 +09:00
Shunsuke Shibayama
a8f9fa2edb feat: add Sequence!/Mapping! 2023-05-09 22:19:19 +09:00
Shunsuke Shibayama
293f301a4b feat: add traits
* Sized
* Iterator
* Container
* Collection
* Indexable
* Mapping
2023-05-08 12:11:01 +09:00
Shunsuke Shibayama
fca904d3ef Update unify.rs 2023-05-08 11:51:19 +09:00
Shunsuke Shibayama
c3da319e9f feat: add zlib/hashlib 2023-05-07 22:15:24 +09:00