Commit graph

202 commits

Author SHA1 Message Date
Shunsuke Shibayama
38d9ff06ee fix: don't warn for unused control flow result values 2025-02-08 16:46:29 +09:00
Shunsuke Shibayama
21582953c0 fix: complement type narrowing bug 2025-02-08 15:10:48 +09:00
Shunsuke Shibayama
a6f8724a35 fix: clippy warns 2025-01-14 00:59:15 +09:00
Shunsuke Shibayama
3cb4c50a05 fix: method implementation checking bug 2024-12-27 17:50:10 +09:00
Shunsuke Shibayama
40b53a3e81 fix: trait impl bugs (2) 2024-12-27 01:35:57 +09:00
Shunsuke Shibayama
017b13f07b fix: trait impl bugs 2024-12-27 00:24:02 +09:00
Shunsuke Shibayama
b2b7f9cfd0 fix(els): SharedPromises::join bug 2024-12-25 17:09:14 +09:00
Shunsuke Shibayama
5e9cab74a2 feat: impl type widening for ReDef / Structural 2024-12-23 15:02:10 +09:00
Shunsuke Shibayama
cd0b54d640 fix: assert casting bug 2024-12-23 03:32:32 +09:00
Shunsuke Shibayama
24dd989466 fix: clippy warnings 2024-11-29 11:08:25 +09:00
Shunsuke Shibayama
0e619567ee fix: variable registration bug 2024-10-20 15:16:22 +09:00
Shunsuke Shibayama
01a5938c29 chore: add ast::VarPattern::Phi 2024-10-20 14:25:29 +09:00
Shunsuke Shibayama
9c1e77ecd0 fix: variable registration bug 2024-10-19 17:17:43 +09:00
Shunsuke Shibayama
f0c5045699 chore: don't return Failure 2024-10-19 14:29:12 +09:00
Shunsuke Shibayama
5b79854886 fix: type instantiation bug 2024-10-18 12:46:55 +09:00
Shunsuke Shibayama
1206e50e86 perf: reduce AST/HIR element size
closes #530
2024-10-13 17:51:37 +09:00
Shunsuke Shibayama
0e53191efd chore(els): improve method completion 2024-10-11 15:55:52 +09:00
Shunsuke Shibayama
1d16dd724a fix: minor bugs 2024-10-05 13:59:01 +09:00
Shunsuke Shibayama
a290684db8 fix: method inference bug 2024-10-02 12:20:48 +09:00
Shunsuke Shibayama
3366043a2d fix: Dict::get 2024-09-21 20:06:26 +09:00
Shunsuke Shibayama
ff53af0cb6 feat: add RMul, RDiv
* `And` has the default type index
* impl `Dimension` traits
2024-09-20 20:36:55 +09:00
Shunsuke Shibayama
040811744e
Merge pull request #521 from erg-lang/perf_or_type
Change And/Or-type structures
2024-09-18 14:31:37 +09:00
Shunsuke Shibayama
43828f6bb8 chore: continue checking even if AST-linking failed 2024-09-18 14:30:10 +09:00
Shunsuke Shibayama
461e91703a fix: union type bug (2) 2024-09-16 00:54:47 +09:00
Shunsuke Shibayama
b0c31370c5 fix: Type::{And, Or}(Set<Type>) 2024-09-14 21:20:05 +09:00
Shunsuke Shibayama
82bc710827 fix: infinite recursion bug 2024-09-14 21:10:06 +09:00
Shunsuke Shibayama
f9eb562848 fix: infinite recursion bug
add `Immutable` trait (Type: !Immutable)
2024-09-04 20:38:46 +09:00
Shunsuke Shibayama
fdca32f6a9 fix: eliminate panics 2024-08-28 21:20:13 +09:00
Shunsuke Shibayama
0868e5fb23 feat: error-tolerant lowering 2024-08-22 00:43:56 +09:00
Shunsuke Shibayama
d433bcbcce feat: args expansion 2024-08-20 01:20:42 +09:00
Shunsuke Shibayama
06ec103b2e feat: glob import (WIP) 2024-08-17 10:25:17 +09:00
Shunsuke Shibayama
cb2089135f Update lower.rs 2024-08-10 19:59:22 +09:00
Shunsuke Shibayama
fef6711218 fix: default param type mismatch errors don't report 2024-08-08 14:39:40 +09:00
Shunsuke Shibayama
2f6717ba4f build: update pyo3 to v0.21 2024-07-02 03:15:28 +09:00
Shunsuke Shibayama
6945d0c32e fix: eliminate unwraps 2024-05-02 22:16:54 +09:00
Shunsuke Shibayama
1c699cc2f3 feat: add Sealed trait 2024-04-27 13:52:15 +09:00
Shunsuke Shibayama
4396695ad6 fix: default parameter bug 2024-04-24 13:54:56 +09:00
Shunsuke Shibayama
1f88084360 feat: best-effort type instantiation 2024-04-20 22:51:14 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
21fcf23827 feat: enhance os type decls 2024-03-29 12:40:30 +09:00
Shunsuke Shibayama
56f06a0a1e chore: eliminate unwraps 2024-03-25 15:14:48 +09:00
Shunsuke Shibayama
d7d422dfdc feat: type narrowing with hasattr 2024-03-24 20:52:33 +09:00
Shunsuke Shibayama
ce5eafca9b feat: improve record type narrowing 2024-03-24 18:18:09 +09:00
Shunsuke Shibayama
242171b280 fix: type narrowing bug 2024-03-23 23:54:44 +09:00
Shunsuke Shibayama
ccb2cceea1 fix: class definition bug 2024-03-22 19:43:33 +09:00
Shunsuke Shibayama
05fedc3742 Update lower.rs 2024-03-19 00:28:52 +09:00
Shunsuke Shibayama
fd873a1916 feat: argumen type narrowing 2024-03-17 20:57:13 +09:00
Shunsuke Shibayama
95e675cccd feat: array unpacking 2024-03-16 13:20:01 +09:00
Shunsuke Shibayama
74e89f6d5b fix: polymorphic type spec instantiation bugs 2024-03-13 22:35:08 +09:00
Shunsuke Shibayama
e38674945b fix: type relation bugs 2024-03-13 12:40:43 +09:00