From 234101bbfa0e3efd1d5cff911a28f903b69e9d5d Mon Sep 17 00:00:00 2001 From: Andrew Porter Date: Mon, 13 Jan 2025 16:21:05 +0000 Subject: [PATCH] #2845 fix linting --- src/psyclone/psyir/transformations/inline_trans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/psyclone/psyir/transformations/inline_trans.py b/src/psyclone/psyir/transformations/inline_trans.py index 2e76bb70bc..c02655b414 100644 --- a/src/psyclone/psyir/transformations/inline_trans.py +++ b/src/psyclone/psyir/transformations/inline_trans.py @@ -37,7 +37,7 @@ This module contains the InlineTrans transformation. ''' -from psyclone.errors import LazyString +from psyclone.errors import LazyString, InternalError from psyclone.psyGen import Transformation from psyclone.psyir.nodes import ( ArrayReference, ArrayOfStructuresReference, BinaryOperation, Call, @@ -677,7 +677,7 @@ def validate(self, node, options=None): f"has a named argument '{arg}' (TODO #924).") parent_routine = node.ancestor(Routine) - table = parent_routine.symbol_table # node.scope.symbol_table + table = parent_routine.symbol_table # node.scope.symbol_table routine_table = routine.symbol_table for sym in routine_table.datasymbols: