Skip to content

Commit

Permalink
type inf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mcopik authored and phschaad committed Jan 14, 2025
1 parent 08bf378 commit 6319666
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dace/frontend/fortran/ast_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2653,6 +2653,11 @@ def visit_Name_Node(self, node: ast_internal_classes.Name_Node):

return node

def visit_Name_Range_Node(self, node: ast_internal_classes.Name_Range_Node):
node.sizes = []
node.offsets = [1]
return node

def visit_Array_Subscript_Node(self, node: ast_internal_classes.Array_Subscript_Node):

var_def = self.scope_vars.get_var(node.parent, node.name.name)
Expand Down

0 comments on commit 6319666

Please sign in to comment.