Commit graph

473 commits

Author SHA1 Message Date
Shunsuke Shibayama
126ef734b2 WIP: trait implementation 2022-09-17 23:38:23 +09:00
Shunsuke Shibayama
e4eed24a42 WIP: trait implementation 2022-09-17 22:26:56 +09:00
Shunsuke Shibayama
abb6bcd320 WIP: trait implementation 2022-09-17 20:39:13 +09:00
Shunsuke Shibayama
3b7eebe041 WIP: Implement explicit type variable declarations 2022-09-17 17:25:07 +09:00
Shunsuke Shibayama
aa527dcbc8 WIP: impl Trait 2022-09-17 01:42:49 +09:00
Shunsuke Shibayama
346d00fcd8 Impl UserConstSubr 2022-09-16 23:33:10 +09:00
Shunsuke Shibayama
91b7ba3c05 Add TypeAppArgs 2022-09-16 15:27:19 +09:00
Shunsuke Shibayama
8f47e1e2dc Merge branch 'main' into trait 2022-09-16 10:56:31 +09:00
Shunsuke Shibayama
d2ad7caaab Update ErgConfig and Runnable 2022-09-16 02:21:04 +09:00
Shunsuke Shibayama
d7ffb211a8 let errors more readable 2022-09-16 00:35:58 +09:00
Shunsuke Shibayama
ba13cf25c8 Fix comparison operators types 2022-09-16 00:35:36 +09:00
Shunsuke Shibayama
f8e3a04336 Update hints 2022-09-16 00:20:06 +09:00
Shunsuke Shibayama
7455c4ac0f Delete resolve_trait 2022-09-16 00:19:51 +09:00
Shunsuke Shibayama
72748b639e Update compare.rs 2022-09-16 00:17:47 +09:00
Shunsuke Shibayama
4615c774f0 Fix __pow__, __mod__ types 2022-09-16 00:15:13 +09:00
Shunsuke Shibayama
19428a417f Update version (v0.4.7) 2022-09-15 19:20:53 +09:00
Shunsuke Shibayama
1951865e05 Update lower.rs 2022-09-15 15:00:24 +09:00
Shunsuke Shibayama
bc67677ad6 Add Trait, Subsume 2022-09-15 11:37:12 +09:00
Shunsuke Shibayama
12f22f8bed Fix Context::lower_class_def 2022-09-15 11:36:34 +09:00
Shunsuke Shibayama
53fac3e96d Update eval.rs 2022-09-15 10:33:10 +09:00
Shunsuke Shibayama
615d7937d9 Readable error messages 2022-09-14 21:46:12 +09:00
Shunsuke Shibayama
ad363bed6a Fix Context::eval_t_params 2022-09-14 20:20:11 +09:00
Shunsuke Shibayama
0262e6de69 Impl some effect checks 2022-09-14 19:49:57 +09:00
Shunsuke Shibayama
b306e05f39 Update compare.rs 2022-09-14 19:36:30 +09:00
Shunsuke Shibayama
581d2c84aa Update version (v0.4.6) 2022-09-14 16:23:29 +09:00
Shunsuke Shibayama
e1be2d2b51 Merge branch 'main' of https://github.com/erg-lang/erg 2022-09-14 12:47:46 +09:00
Shunsuke Shibayama
651ffc8e7c Update version (v0.4.5) 2022-09-14 12:47:37 +09:00
Shunsuke Shibayama
14df5ce94c Update Runnable API types
This change allows Erg to pass information in a thread-safe manner.
2022-09-14 12:45:04 +09:00
Shunsuke Shibayama
aece619e69 Update version (v0.4.3) 2022-09-14 12:16:49 +09:00
Shunsuke Shibayama
fe1b0fab70 Add AtomicStr 2022-09-14 12:11:06 +09:00
Shunsuke Shibayama
fb36c0d633 Update version (v0.4.2) 2022-09-14 11:21:54 +09:00
Shunsuke Shibayama
3d75aa60cc Fix ownership checker bugs 2022-09-13 15:46:01 +09:00
Shunsuke Shibayama
66a6d60d4a Update ownercheck.rs 2022-09-13 15:34:35 +09:00
Shunsuke Shibayama
bc6eb37e39 Improve: show candidates for unification of projection-types 2022-09-13 15:34:27 +09:00
Shunsuke Shibayama
e04b5bfb8b Fix Context::eval_t_params 2022-09-13 13:13:52 +09:00
Shunsuke Shibayama
87a7a3afdf WIP: Fix unifying algorithm
Delete `unify` (only use `sub_unify`)
2022-09-13 12:55:16 +09:00
Shunsuke Shibayama
f8c2e4226e Fix Array!.map! type 2022-09-13 12:54:18 +09:00
Shunsuke Shibayama
9079f15d21 Fix use-checking 2022-09-13 12:24:38 +09:00
Shunsuke Shibayama
605c2fc07e WIP: Fix type inferring bugs 2022-09-13 02:38:14 +09:00
Shunsuke Shibayama
2606638253 Update built-in types definitions 2022-09-12 15:50:53 +09:00
Shunsuke Shibayama
9c55597183 Fix projection-type inferring bugs 2022-09-12 15:50:22 +09:00
Shunsuke Shibayama
0704ee34d0 Remove _nlocals 2022-09-12 13:14:35 +09:00
Shunsuke Shibayama
c6b8d6a6df Add ClassDefType 2022-09-12 13:09:54 +09:00
Shunsuke Shibayama
8468d87209 Fix #108 (OwnershipChecker bugs) 2022-09-12 11:23:04 +09:00
Shunsuke Shibayama
164491c837 Fix reassignment bugs 2022-09-12 01:24:18 +09:00
Shunsuke Shibayama
c5b0a33d8e registered -> registered_info 2022-09-12 00:43:51 +09:00
Shunsuke Shibayama
70aa7e6a97 Fix #95 2022-09-11 23:37:17 +09:00
Shunsuke Shibayama
c0742005ee Fix #72 2022-09-11 23:19:48 +09:00
Shunsuke Shibayama
846c5dd5d0 Update codegen.rs 2022-09-11 21:45:27 +09:00
Shunsuke Shibayama
f38bc88073 Implement fake methods code generating 2022-09-11 21:36:02 +09:00