dev: interning types (#271)

* refactor: a bit

* fix: named completion

* dev: replace complete_literal by complete_type

* dev: remove unused code

* dev: basic interner

* dev: basic types

* dev: type operations

* dev: migrate all type definitions

* dev: check syntax and builtin types

* dev: make TypeSimplifier simply work

* dev: make TypeDescriber simply work

* dev: make TypeChecker simply work

* dev: recover type check

* fix: context check

* fix: use after free in seen fields

* fix: typed with

* fix: record type on field

* dev: check type of constructors and element containing

* dev: show sig by type

* fix: mixed context checking

* QAQ

* >_<

* dev: fix documents
This commit is contained in:
Myriad-Dreamin 2024-05-11 21:12:49 +08:00 committed by GitHub
parent d9df64bca7
commit fff227f3ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
94 changed files with 4011 additions and 3042 deletions

View file

@ -10,6 +10,7 @@
mod adt;
pub mod analysis;
pub mod syntax;
mod ty;
mod upstream;
pub(crate) mod diagnostics;