Merge pull request #4607 from zen3ger/parapoly-proc-fixes

Fix crash when proc return type is undeclared parapoly variable
This commit is contained in:
gingerBill
2025-01-01 17:40:04 +00:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
+1
View File
@@ -522,6 +522,7 @@ struct CheckerContext {
bool in_enum_type;
bool collect_delayed_decls;
bool allow_polymorphic_types;
bool disallow_polymorphic_return_types; // NOTE(zen3ger): no poly type decl in return types
bool no_polymorphic_errors;
bool hide_polymorphic_errors;
bool in_polymorphic_specialization;