mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-25 16:28:45 +00:00
print visitor fixed
This commit is contained in:
parent
fd047bc517
commit
5bf0c1bf48
3 changed files with 82 additions and 60 deletions
|
|
@ -534,7 +534,9 @@ struct VariantType {
|
|||
};
|
||||
|
||||
struct TypeExpression {
|
||||
std::vector<TypeSubExpression> types;
|
||||
std::vector<TypeSubExpression> path;
|
||||
TypeSubExpression type;
|
||||
|
||||
std::optional<size_t> array_size; // if array; 0 - dynamic size
|
||||
|
||||
utils::IdType type_id_;
|
||||
|
|
@ -548,7 +550,7 @@ struct ExtendedScopedAnyType {
|
|||
// Typeclass -----------------
|
||||
|
||||
struct TypeclassExpression {
|
||||
std::vector<TypeSubExpression> types;
|
||||
std::vector<TypeSubExpression> path;
|
||||
TypeclassSubExpression typeclass;
|
||||
|
||||
utils::IdType type_id_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue