Commit graph

2511 commits

Author SHA1 Message Date
Shunsuke Shibayama
aaa259d6c0 feat: add ConstTypeAsc 2023-02-23 20:17:59 +09:00
Shunsuke Shibayama
1dbfb4b834
Merge pull request #404 from erg-lang/feat-structural
Add `Structural` types
2023-02-23 19:50:40 +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
8903e84011 feat(els): support signature help 2023-02-22 17:54:04 +09:00
Shunsuke Shibayama
23cbbe3071 build: update version (v0.6.6) 2023-02-22 13:13:01 +09:00
github-actions[bot]
6c64b84079 Automatic update translation_status 2023-02-22 04:03:02 +00:00
Shunsuke Shibayama
4ce73011be Update docs (JA) 2023-02-22 13:02:43 +09:00
Shunsuke Shibayama
baf9e9597f Update docs 2023-02-22 12:59:40 +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
1e410975f9
Merge pull request #403 from erg-lang/fix-quantification
Fix quantification
2023-02-20 22:54:15 +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
Shunsuke Shibayama
6d18fde0b1 fix: fn_name! in a closure shows "{{closure}}" 2023-02-20 01:16:08 +09:00
Shunsuke Shibayama
f746b815d3 test: add should_ok/subtyping.er 2023-02-20 00:46:10 +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
855d47f02c fix(typechecker): quantified types unifying 2023-02-19 02:00:54 +09:00
Shunsuke Shibayama
448fe4e64c fix: type formatting 2023-02-18 16:09:09 +09:00
Shunsuke Shibayama
5b8715af27 Update instantiate.rs 2023-02-18 15:42:59 +09:00
Shunsuke Shibayama
d336dffba7 build: update version (nightly) 2023-02-18 15:30:27 +09:00
Shunsuke Shibayama
b552cad3b2 feat: add Bytes.d.er/Obj.d.er 2023-02-18 13:46:48 +09:00
Shunsuke Shibayama
7389f68e3e fix(compiler): infinite recursion bug of derefine 2023-02-18 00:43:52 +09:00
Shunsuke Shibayama
3aeb63f51b feat: add Array.d.er/Bool.d.er/Nat.d.er 2023-02-18 00:24:25 +09:00
Shunsuke Shibayama
9a131ecc53 fix: #399 2023-02-17 21:27:37 +09:00
Shunsuke Shibayama
677ced0fcd feat: add std.d 2023-02-17 21:09:23 +09:00
Shunsuke Shibayama
51cae591a3 feat: allow separating sample code and doc-comments 2023-02-17 20:37:15 +09:00
Shunsuke Shibayama
0c579fa6fb fix(els): pos_to_index (renamed to pos_to_byte_index)
Fixed a crash when handling non-ascii characters
2023-02-17 17:54:49 +09:00
Shunsuke Shibayama
66ece61af2 refactor(pystd): use methods declaration syntax 2023-02-17 15:15:11 +09:00
Shunsuke Shibayama
7e9cef9c07 chore(els): improve completion 2023-02-17 13:39:46 +09:00
Shunsuke Shibayama
d1ee28db78 fix: method decls visibility bug 2023-02-17 01:51:11 +09:00
Shunsuke Shibayama
033e95516c Update hover.rs 2023-02-17 01:39:00 +09:00
Shunsuke Shibayama
b4b02fd0f6 feat: implement methods declaration syntax 2023-02-17 01:26:04 +09:00
Shunsuke Shibayama
a694880ff4 fix(compiler): eliminate panic!/todo!s 2023-02-16 23:48:22 +09:00
github-actions[bot]
83d9ed108d Automatic update translation_status 2023-02-16 06:14:02 +00:00
Shunsuke Shibayama
e4a7d33256 Update 20_visibility.md 2023-02-16 15:13:42 +09:00
Shunsuke Shibayama
5fe4ad1207 Update 20_visibility.md 2023-02-16 15:12:45 +09:00
Shunsuke Shibayama
305763f251 Update register.rs 2023-02-16 05:54:21 +09:00
Shunsuke Shibayama
99b44fc02b feat: add PylyzerStatus 2023-02-16 05:43:48 +09:00
Shunsuke Shibayama
a2e4cbcd0a chore: display fix-suggests for incorrect CLI args 2023-02-15 16:39:22 +09:00
Shunsuke Shibayama
ec9ecb98b7 Update codegen.rs 2023-02-15 13:22:47 +09:00
Shunsuke Shibayama
712e665ac2 Update levenshtein.rs 2023-02-15 12:54:09 +09:00
Shunsuke Shibayama
dd7ff1adbc perf: optimize levenshtein 2023-02-15 12:25:02 +09:00