diff --git a/tools/chplcheck/src/rule_types.py b/tools/chplcheck/src/rule_types.py index 18fd1ff67192..5e1557125dfe 100644 --- a/tools/chplcheck/src/rule_types.py +++ b/tools/chplcheck/src/rule_types.py @@ -226,7 +226,7 @@ def _check_single( # addition to the fixits in the result itself) # add the fixits from the hooks to the fixits from the rule fixits = self.run_fixit_hooks(context, result) + fixits - return (node, self.name, fixits) + return (result.node, self.name, fixits) def check( self, context: chapel.Context, root: chapel.AstNode