aboutsummaryrefslogtreecommitdiff
path: root/src/all_types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/all_types.hpp')
-rw-r--r--src/all_types.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/all_types.hpp b/src/all_types.hpp
index ce5fa98c54..143e476f13 100644
--- a/src/all_types.hpp
+++ b/src/all_types.hpp
@@ -600,12 +600,16 @@ struct AstNodeStructDecl {
TopLevelDecl top_level_decl;
Buf name;
ContainerKind kind;
+ ZigList<AstNode *> generic_params;
+ bool generic_params_is_var_args; // always an error but it can happen from parsing
ZigList<AstNode *> fields;
ZigList<AstNode *> fns;
// populated by semantic analyzer
BlockContext *block_context;
TypeTableEntry *type_entry;
+ TypeTableEntry *generic_fn_type;
+ bool skip;
};
struct AstNodeStructField {