Commit graph

183 commits

Author SHA1 Message Date
Shunsuke Shibayama
0dd5ac0775 Merge branch 'main' into shape 2023-08-02 15:59:24 +09:00
Shunsuke Shibayama
f298db96d1 fix: warn unused type variables 2023-08-02 15:07:31 +09:00
Shunsuke Shibayama
6c3536cc31 fix: declaration bugs 2023-07-31 11:08:53 +09:00
Shunsuke Shibayama
17b44b1fa8
Merge pull request #444 from erg-lang/fix-443
Fix #443
2023-07-26 20:45:23 +09:00
Shunsuke Shibayama
3eb2d439ca fix: eliminate of unnecessary file escapes 2023-07-26 17:53:29 +09:00
Shunsuke Shibayama
a64945e9d0 fix: false positive errors 2023-07-26 01:40:08 +09:00
Shunsuke Shibayama
072d62f7b3 fix: reduce unreachables 2023-07-15 12:40:23 +09:00
Shunsuke Shibayama
ddb483c2cf fix: minor bugs 2023-06-25 23:06:40 +09:00
Shunsuke Shibayama
eaeb659a7d fix: errors in other modules are ignored 2023-06-22 16:32:10 +09:00
Shunsuke Shibayama
798f22afa4 fix(els): incremental updating var-definition 2023-06-21 15:08:03 +09:00
Shunsuke Shibayama
75f4c206f6 feat: parallelize the analysis process 2023-06-18 15:58:32 +09:00
Shunsuke Shibayama
0d3691f243 Merge branch 'main' into rwlock 2023-06-10 17:45:08 +09:00
Shunsuke Shibayama
8c983c3714 merge from main 2023-05-28 10:39:54 +09:00
Shunsuke Shibayama
8e481399b4 chore: eliminate unsafe operations 2023-05-28 02:22:33 +09:00
Shunsuke Shibayama
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +09:00
Shunsuke Shibayama
33e1b776cb feat: add ASTDiff and impl lazy compilation 2023-05-13 11:33:48 +09:00
Shunsuke Shibayama
ffb7e4bbba fix: import bugs 2023-05-05 17:32:51 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +09:00
Shunsuke Shibayama
b3e09f213f fix: type inference failure of as operator
Now the `as` operator is a kind of type ascription, i.e., a special operator.
2023-04-26 23:41:35 +09:00
Shunsuke Shibayama
1767df5de2 chore: add error msg for debug_assert! 2023-04-23 11:17:10 +09:00
Shunsuke Shibayama
3c40fc35e9 fix: #193
and many bugs
2023-04-22 23:43:03 +09:00
Shunsuke Shibayama
3cc168182b feat: add typing.cast 2023-04-19 01:16:39 +09:00
Shunsuke Shibayama
943ee32db2 fix: external module errors were ignored 2023-04-18 19:47:04 +09:00
Shunsuke Shibayama
839133863f feat: enhance assert casting 2023-04-16 23:32:52 +09:00
Shunsuke Shibayama
5eb680cb21 fix: #415 2023-04-16 21:13:48 +09:00
Shunsuke Shibayama
4a46e8f5a8 chore(els): display hover etc. even when check fails 2023-04-11 18:55:09 +09:00
Shunsuke Shibayama
fc85265d9f fix: union types bug & multi-pattern def bug 2023-04-10 22:26:46 +09:00
Shunsuke Shibayama
0c47c95f25 feat: check doc comments by the compiler 2023-04-06 23:41:24 +09:00
Shunsuke Shibayama
755f06bab3 test: check the number of warnings 2023-04-01 21:53:22 +09:00
Shunsuke Shibayama
0329b1a2e3 chore: add Dereferencer 2023-04-01 18:08:15 +09:00
Shunsuke Shibayama
e232b6a518 fix: sub-unification problem 2023-03-31 00:37:09 +09:00
Shunsuke Shibayama
3f66981c5c refactor: py_compatible -> py_compat 2023-03-30 00:43:30 +09:00
Shunsuke Shibayama
d039e21628 feat: fix bugs 2023-03-29 21:03:07 +09:00
Shunsuke Shibayama
37ef01c89a feat: comparison narrowing 2023-03-29 15:35:45 +09:00
Shunsuke Shibayama
5876c24830 feat: isinstance narrowing 2023-03-29 11:24:53 +09:00
Shunsuke Shibayama
ccf02405d8 feat: add ==/!= narrowing 2023-03-29 01:32:29 +09:00
Shunsuke Shibayama
fc3fe5de0c feat: implement type-narrowing
* `in` narrowing
2023-03-28 02:00:42 +09:00
Shunsuke Shibayama
bf8cf61c7e refactor: use if let instead of option_enum_unwrap 2023-03-25 10:23:58 +09:00
Shunsuke Shibayama
0079aed860 fix: sub-unification bugs 2023-03-22 15:38:47 +09:00
Shunsuke Shibayama
b318395a32 fix: avoid infinite recursion bugs 2023-03-22 01:28:22 +09:00
Shunsuke Shibayama
40762bf8cf fix: union/intersection types bugs 2023-03-20 14:48:34 +09:00
Shunsuke Shibayama
98a1a0292e fix: structural types bugs 2023-03-20 13:43:25 +09:00
Shunsuke Shibayama
bda30ecbe2 build: update version (nightly) 2023-03-17 10:33:32 +09:00
Shunsuke Shibayama
2afd47a24a fix: change ParamTy structure 2023-03-17 00:11:30 +09:00
Shunsuke Shibayama
29b725423d fix: internal representation of user-defined types 2023-03-16 01:00:13 +09:00
Shunsuke Shibayama
5d8506b548 fix: eliminate unwrap(), todo!() 2023-03-08 09:20:06 +09:00
Shunsuke Shibayama
1293fa58c8 refactor: Reorderer -> ASTLinker, Linker -> HIRLinker 2023-03-07 20:18:30 +09:00
Shunsuke Shibayama
a73a6b8022 fix: get_singular_ctx_* -> get_singular_ctxs_* 2023-03-07 19:06:21 +09:00
Shunsuke Shibayama
fa2919e824 fix: bugs with enumeration of vars 2023-03-06 19:44:49 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00