Skip to content

Commit e921723

Browse files
committed
add comment about why ignore call chain with aggregator call
1 parent 6c95d45 commit e921723

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

godel-script/godel-frontend/src/sema/ungrounded_checker.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,8 @@ bool ungrounded_parameter_checker::visit_call_root(call_root* node) {
681681
return true;
682682
}
683683
for(auto i : node->get_call_chain()) {
684+
// if souffle aggregator is used in the call chain,
685+
// all variables used in this call is not grounded
684686
if (i->is_aggregator() && !i->is_aggregator_find()) {
685687
return true;
686688
}

0 commit comments

Comments
 (0)