Skip to content

Commit e1283ee

Browse files
committed
Correctly mark new field in ResolvedFunction
Signed-off-by: Ben Harshbarger <[email protected]>
1 parent 31f987b commit e1283ee

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/include/chpl/resolution/resolution-types.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3113,6 +3113,13 @@ class ResolvedFunction {
31133113
chpl::mark<decltype(p.first)>{}(context, p.first);
31143114
context->markPointer(p.second);
31153115
}
3116+
for (auto& p : implicitInits_) {
3117+
p.first.mark(context);
3118+
for (auto& key : p.second) {
3119+
context->markPointer(key.first);
3120+
key.second.mark(context);
3121+
}
3122+
}
31163123
}
31173124
size_t hash() const {
31183125
// Skip 'resolutionById_' since it can be quite large.

0 commit comments

Comments
 (0)