mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
type structs -> type classes
This commit is contained in:
parent
a512a92f92
commit
648f78afa3
14 changed files with 638 additions and 383 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue