diff --git a/tools/chplcheck/src/rules.py b/tools/chplcheck/src/rules.py index 23e22cc95ec5..3e05c64a8771 100644 --- a/tools/chplcheck/src/rules.py +++ b/tools/chplcheck/src/rules.py @@ -932,7 +932,10 @@ def MissingInIntent(_, root: chapel.AstNode): for nd in agg: if isinstance(nd, chapel.Variable) and nd.is_field(): fields[nd.unique_id()] = nd - if isinstance(nd, chapel.Function) and nd.name() in ("init", "init="): + if isinstance(nd, chapel.Function) and nd.name() in ( + "init", + "init=", + ): inits.append(nd) for init in inits: @@ -969,7 +972,6 @@ def MissingInIntent(_, root: chapel.AstNode): if lhs_is_field and rhs_is_formal: yield AdvancedRuleResult(rhs_is_formal) - @driver.fixit(MissingInIntent) def FixMissingInIntent(context: Context, result: AdvancedRuleResult): """