Commit graph

77 commits

Author SHA1 Message Date
Shunsuke Shibayama
4851826b3a fix: type-specification bug 2023-06-07 21:31:12 +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
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
0603998bfc chore: add Context::convert_value_into_type 2023-05-03 15:03:28 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +09:00
Shunsuke Shibayama
bd95ab8221 fix: PreDeclTypeSpec bugs
SimpleTypeSpec -> Identifier/PolyTypeSpec
2023-04-30 19:29:47 +09:00
Shunsuke Shibayama
882d619dcc fix: type-parameter instantiation bugs 2023-04-29 23:14:39 +09:00
Shunsuke Shibayama
68a233e6c3 fix: type-parameter instantiation bugs
add `itertools` module type definition
2023-04-29 22:38:36 +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
6f334b6bcc refactor: Equal -> Assign 2023-03-30 01:27:51 +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
caa171342f fix: eliminate panics 2023-03-25 23:17:30 +09:00
Shunsuke Shibayama
99d72ab4ef fix: type-instantiation bug 2023-03-24 19:02:32 +09:00
Shunsuke Shibayama
4ff0b64fc3 fix: type-instantiating bugs 2023-03-23 21:17:37 +09:00
Shunsuke Shibayama
2afd47a24a fix: change ParamTy structure 2023-03-17 00:11:30 +09:00
Shunsuke Shibayama
5838eea7ec fix: NotImplementedType 2023-03-16 12:03:47 +09:00
Shunsuke Shibayama
2d04d4d424 fix: indexing of type specs 2023-03-11 16:31:20 +09:00
Shunsuke Shibayama
8f64853dad fix: type spec instantiating bug 2023-03-10 20:35:17 +09:00
Shunsuke Shibayama
814748a6be fix: constraints instantiation bug 2023-03-08 11:06:08 +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
b1a9f7bf40 fix: eliminate panics 2023-03-06 13:52:07 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +09:00