mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-09 08:28:43 +00:00
.
This commit is contained in:
parent
648f78afa3
commit
496d3819d9
6 changed files with 71 additions and 16 deletions
|
|
@ -557,8 +557,6 @@ struct TypeExpression {
|
|||
TypeSubExpression type;
|
||||
|
||||
std::optional<size_t> array_size; // if array; 0 - dynamic size
|
||||
|
||||
utils::IdType type_id_;
|
||||
};
|
||||
|
||||
struct ExtendedScopedAnyType {
|
||||
|
|
@ -584,6 +582,8 @@ struct ParametrizedTypeclass {
|
|||
struct ParametrizedType {
|
||||
AnyTypeIdentifier type;
|
||||
std::vector<std::unique_ptr<TypeExpression>> parameters;
|
||||
|
||||
std::optional<utils::IdType> type_id_; // std::nullopt, if it is namespace without type
|
||||
};
|
||||
|
||||
// ----------------- Comments [IGNORE] -----------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue