Commit graph

19 commits

Author SHA1 Message Date
Shunsuke Shibayama
40b53a3e81 fix: trait impl bugs (2) 2024-12-27 01:35:57 +09:00
Shunsuke Shibayama
d230bb7374 fix: VarName::hash 2024-10-03 17:47:57 +09:00
Shunsuke Shibayama
e7ff9f4ea7 perf: improve {Dict, Set}::hash 2024-10-03 16:31:16 +09:00
Shunsuke Shibayama
a49081161b fix: check subtype field types mismatch 2024-10-01 17:32:06 +09:00
Shunsuke Shibayama
ebd7707f77 fix: traits can have impls 2024-09-21 22:42:56 +09:00
Shunsuke Shibayama
9d88e8d7e7 fix: type variable linking bug 2024-09-17 02:00:51 +09:00
Shunsuke Shibayama
f9eb562848 fix: infinite recursion bug
add `Immutable` trait (Type: !Immutable)
2024-09-04 20:38:46 +09:00
Shunsuke Shibayama
4bc596af00 fix: hash impl of Dict, Set 2024-09-04 14:10:32 +09:00
Shunsuke Shibayama
06ec103b2e feat: glob import (WIP) 2024-08-17 10:25:17 +09:00
Shunsuke Shibayama
ea6e3df982 chore: add log-level-error feature 2024-06-16 13:40:36 +09:00
Shunsuke Shibayama
29a70b0632 chore: fix warnings 2024-05-02 23:03:58 +09:00
Shunsuke Shibayama
ca88e82c9f feat: improve record type error hint 2024-02-21 00:39:36 +09:00
Shunsuke Shibayama
276583d8ef feat: add const reversed/sum/Str::replace 2024-01-30 11:01:45 +09:00
Shunsuke Shibayama
f298db96d1 fix: warn unused type variables 2023-08-02 15:07:31 +09:00
Shunsuke Shibayama
d039e21628 feat: fix bugs 2023-03-29 21:03:07 +09:00
Shunsuke Shibayama
f45c165499 feat: add some builtin python modules decls 2023-03-15 13:51:11 +09:00
Shunsuke Shibayama
fa2919e824 fix: bugs with enumeration of vars 2023-03-06 19:44:49 +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
a127564b31 Rename dir: compiler -> crates 2023-01-15 12:03:19 +09:00
Renamed from compiler/erg_common/dict.rs (Browse further)