Commit graph

159 commits

Author SHA1 Message Date
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
b2425fa686 fix record subtyping bug (visibility) 2023-03-05 23:20:17 +09:00
Shunsuke Shibayama
77e3f498ef fix: file name collision problem of Input 2023-03-05 20:02:36 +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
8c8eff76a6 feat: add ContextManager 2023-03-03 16:06:03 +09:00
Shunsuke Shibayama
3d310714f1 feat: support var-args lambda function 2023-03-03 16:01:20 +09:00
Shunsuke Shibayama
cb00efca54 fix: minor bugs 2023-03-03 14:26:11 +09:00
Shunsuke Shibayama
1c8da7f049 fix: refinement types bugs 2023-03-03 13:44:05 +09:00
Shunsuke Shibayama
5c6ea316f5 chore: remove unnecessary params 2023-03-03 10:01:05 +09:00
Shunsuke Shibayama
5ec9d519c4 chore(els): improve completion
* add `CheckOnType` option
2023-03-03 01:32:19 +09:00
Shunsuke Shibayama
4413702fbf build: update version (nightly) 2023-03-02 10:58:14 +09:00
Shunsuke Shibayama
0495dd3d1b fix: eliminate unreachable errors 2023-03-02 10:51:01 +09:00
Shunsuke Shibayama
9ca01b060c Update Int.d.er 2023-03-02 00:26:59 +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
8df5785ca7 feat(erg_common): add Stylize trait 2023-03-01 11:19:09 +09:00
Shunsuke Shibayama
e57795d515 feat: implement smart completion 2023-02-27 13:42: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
70f2fe0234 fix: minor bugs 2023-02-26 03:40:13 +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
Shunsuke Shibayama
a7cdc7bc7c Update cache.rs 2023-02-25 10:40:27 +09:00
Shunsuke Shibayama
923f8fbbaf Update mod.rs 2023-02-25 10:11:11 +09:00
Shunsuke Shibayama
af3c912b17 feat: support tqdm 2023-02-25 01:58:37 +09:00
Shunsuke Shibayama
88ccfb9078 feat: add external (type decls dir) 2023-02-25 00:55:14 +09:00
Shunsuke Shibayama
50c476b66f fix: path-related bugs 2023-02-25 00:54:11 +09:00
Shunsuke Shibayama
f604338d99 feat: add Pos/Neg trait 2023-02-24 15:38:04 +09:00
Shunsuke Shibayama
e944132cfc feat: add init_py_builtin_operators 2023-02-24 15:21:25 +09:00
Shunsuke Shibayama
bb6d76cf81 Update inquire.rs 2023-02-24 14:41:37 +09:00
Shunsuke Shibayama
59f07f6d1d fix: Structural types bugs 2023-02-24 13:08:18 +09:00
Shunsuke Shibayama
73a91dcbbb chore: improve messages for unexpected arguments 2023-02-24 10:31:05 +09:00
Shunsuke Shibayama
7c748f223a fix: Structural subtyping bug
fix: `contains_tvar`
2023-02-24 09:49:22 +09:00
Shunsuke Shibayama
aaa259d6c0 feat: add ConstTypeAsc 2023-02-23 20:17:59 +09:00
Shunsuke Shibayama
aaa6b40b24 feat: support Structural types for methods 2023-02-23 18:12:05 +09:00
Shunsuke Shibayama
2c3a27ed4b fix: Structural types instantiation/generalization 2023-02-23 02:35:05 +09:00
Shunsuke Shibayama
c9dda183ab feat: implement Structural types 2023-02-23 01:37:54 +09:00
Shunsuke Shibayama
5c4c43ab2f fix: failure of the type inference of another module 2023-02-22 11:55:02 +09:00
Shunsuke Shibayama
aa2cea60dd fix: quantified subroutine subtyping bugs 2023-02-22 02:40:51 +09:00
Shunsuke Shibayama
4dcca2b06d fix(typechecker): type generalization & dereference bugs
* `Context::subtype_of` now has `allow_cast` param. If this is `false`, cast-aware comparisons are not performed.
2023-02-21 17:04:52 +09:00
Shunsuke Shibayama
3fea50f8bc fix: type generalization bugs 2023-02-21 11:20:15 +09:00
Shunsuke Shibayama
4dca7468ab fix(typechecker): generalization bugs 2023-02-21 01:49:10 +09:00
Shunsuke Shibayama
590525588c chore(els): improve completion order 2023-02-20 23:55:27 +09:00
Shunsuke Shibayama
d0c53e456e test: add type check tests 2023-02-20 22:29:44 +09:00
Shunsuke Shibayama
caae853036 Update generalize.rs 2023-02-20 21:44:01 +09:00
Shunsuke Shibayama
6a607870f3 fix: type quantification bugs 2023-02-20 20:38:36 +09:00