Skip to content

Commit

Permalink
fix basic rule check
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <jade.abraham@hpe.com>
  • Loading branch information
jabraham17 committed Sep 10, 2024
1 parent a0210f2 commit c38bb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/chplcheck/src/rule_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c38bb38

Please sign in to comment.