type structs -> type classes

This commit is contained in:
ProgramSnail 2023-05-02 15:18:08 +03:00
parent a512a92f92
commit 648f78afa3
14 changed files with 638 additions and 383 deletions

View file

@ -297,7 +297,8 @@ struct Namespace {
TypeIdentifier type;
NamespaceSources scope;
std::optional<utils::IdType> type_id_;
std::optional<utils::IdType> link_type_id_;
std::optional<utils::IdType> link_typeclass_id_;
};
// ----------------- Definitions -----------------
@ -570,7 +571,7 @@ struct ExtendedScopedAnyType {
struct TypeclassExpression {
TypeclassSubExpression typeclass;
utils::IdType type_id_;
utils::IdType typeclass_id_;
};
struct ParametrizedTypeclass {