Commit graph

41 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
1ea2c74aaa chore: add TyParam::proj_call 2023-07-30 13:05:39 +09:00
Shunsuke Shibayama
072d62f7b3 fix: reduce unreachables 2023-07-15 12:40:23 +09:00
Shunsuke Shibayama
d4b78eb020 fix: distinguish between access to class/instance attr 2023-06-08 22:17:52 +09:00
Shunsuke Shibayama
a8abb7709e fix: type declaration bugs 2023-06-04 16:48:21 +09:00
Shunsuke Shibayama
446262d74c Update declare.rs 2023-06-04 11:11:44 +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
06001bfc13 feat: refinement type specification 2023-05-20 16:40:26 +09:00
Shunsuke Shibayama
44930f1c25 fix: type declaration bugs 2023-05-06 00:09:56 +09:00
Shunsuke Shibayama
ffb7e4bbba fix: import bugs 2023-05-05 17:32:51 +09:00
Shunsuke Shibayama
192b583678 fix: no-panic Context::register_marker_trait 2023-05-05 15:47:40 +09:00
Shunsuke Shibayama
752640eb02 fix: Context::register_marker_trait 2023-05-04 13:35:40 +09:00
Shunsuke Shibayama
730886021e feat: add special namespaces module/global 2023-05-03 14:32:09 +09:00
Shunsuke Shibayama
c683049b0e Update declare.rs 2023-05-02 22:54:43 +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
3f66981c5c refactor: py_compatible -> py_compat 2023-03-30 00:43:30 +09:00
Shunsuke Shibayama
b318395a32 fix: avoid infinite recursion bugs 2023-03-22 01:28:22 +09:00
Shunsuke Shibayama
5a386a7481 fix: type aliasing bug 2023-03-13 15:25:28 +09:00
Shunsuke Shibayama
0d8e574414 fix: add a field meta_t to TypeObj::Builtin 2023-03-13 13:07:35 +09:00
Shunsuke Shibayama
fb26d6d80e fix: aliasing bug 2023-03-12 12:17:47 +09:00
Shunsuke Shibayama
d3678b1780 fix: aliasing bug 2023-03-12 11:30:14 +09:00
Shunsuke Shibayama
4bfc2f4876 Fix: alias decls cannot be made in py_compatible mode 2023-03-12 01:14:52 +09:00
Shunsuke Shibayama
2d04d4d424 fix: indexing of type specs 2023-03-11 16:31:20 +09:00
Shunsuke Shibayama
ee0366cfb4 fix: constant attribute searching bugs 2023-03-11 14:21:15 +09:00
Shunsuke Shibayama
d92f5284c8 feat: add restricted visibility syntax 2023-03-05 02:19:18 +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
aaa259d6c0 feat: add ConstTypeAsc 2023-02-23 20:17:59 +09:00
Shunsuke Shibayama
c9dda183ab feat: implement Structural types 2023-02-23 01:37:54 +09:00
Shunsuke Shibayama
51d84fff9e fix: heterogenous array specifying 2023-02-20 00:08:35 +09:00
Shunsuke Shibayama
7103c9f3bb feat(els): display type bounds as inlay hints 2023-02-19 02:39:03 +09:00
Shunsuke Shibayama
a694880ff4 fix(compiler): eliminate panic!/todo!s 2023-02-16 23:48:22 +09:00
Shunsuke Shibayama
5d90029f09 perf: delaying execution of .loc() 2023-02-15 01:08:49 +09:00
Shunsuke Shibayama
af0fff8226 fix(compiler): runtime type matching system 2023-02-12 01:34:12 +09:00
Shunsuke Shibayama
d8f4d14abd feat(parser): add type_spec_to_expr 2023-02-06 12:04:15 +09:00
Shunsuke Shibayama
afeec08d6c Improve inlay hint 2023-01-19 00:06:13 +09:00
Shunsuke Shibayama
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_compiler/declare.rs (Browse further)