Commit graph

72 commits

Author SHA1 Message Date
Shunsuke Shibayama
1cbe2de706 fix: __new__ method definition bug 2023-06-08 12:37:58 +09:00
Shunsuke Shibayama
4137a07b70 chore(els): impl hover/jump for type specification 2023-06-02 10:54:31 +09:00
Shunsuke Shibayama
b8b312caad chore: eliminate unsafe operations 2023-05-28 10:31:39 +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
Shunsuke Shibayama
309bb06db8 fix: a minor bug 2023-03-03 16:14:20 +09:00
Shunsuke Shibayama
3d310714f1 feat: support var-args lambda function 2023-03-03 16:01:20 +09:00
Shunsuke Shibayama
5c6ea316f5 chore: remove unnecessary params 2023-03-03 10:01:05 +09:00
Shunsuke Shibayama
dd36942256 feat: implement some typevar-related syntax sugar
* add `TypeBoundSpec::Omitted`
* add `TypeAppArgsKind`
2023-03-01 23:35:19 +09:00
Shunsuke Shibayama
af575aba6c Update lower.rs 2023-02-27 12:43:34 +09:00
Shunsuke Shibayama
536872b735 refactor: remove unnecessary fields (commas) in structs 2023-02-27 12:18:34 +09:00
Shunsuke Shibayama
1aa83f140a chore(els): improve signature help 2023-02-27 12:01:09 +09:00
Shunsuke Shibayama
d459151cd0 chore: improve error messages 2023-02-26 12:01:17 +09:00
Shunsuke Shibayama
0ff47efeb3 chore: improve trait impl error messages 2023-02-26 01:57:45 +09:00
Shunsuke Shibayama
78e3ac4f26 fix: trait impl checking bug 2023-02-26 01:47:50 +09:00
Shunsuke Shibayama
0f0d042020 fix: remove unnecessary type checkings 2023-02-25 17:14:38 +09:00