aboutsummaryrefslogtreecommitdiff
path: root/src/checker.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-01-01 17:40:04 +0000
committerGitHub <noreply@github.com>2025-01-01 17:40:04 +0000
commit8d400f43fd958ae05cd5aaf22993ee73b6347bff (patch)
treea5603331bd01966635b144012ab16801398d5dc6 /src/checker.hpp
parent7248958fcdb4fcb009a85b73787590aec2113d87 (diff)
parentf2f952b344b076c17281e0e77195a27d94f58919 (diff)
Merge pull request #4607 from zen3ger/parapoly-proc-fixes
Fix crash when proc return type is undeclared parapoly variable
Diffstat (limited to 'src/checker.hpp')
-rw-r--r--src/checker.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/checker.hpp b/src/checker.hpp
index 036990f29..3951fcefe 100644
--- a/src/checker.hpp
+++ b/src/checker.hpp
@@ -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;