Skip to content

Commit

Permalink
TODO message to #2884
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelyCat124 committed Feb 4, 2025
1 parent 71789f4 commit f65a9f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/psyclone/psyir/frontend/fparser2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4405,6 +4405,9 @@ def _contains_intrinsic_reduction(pnodes):
call_ancestor = ref.ancestor(Call)
elemental_ancestor = (call_ancestor is None or
call_ancestor.is_elemental)
# TODO 2884: We should be able to handle this imported symbol
# better. If we can, we need to handle a case where is_elemental
# can be None.
if isinstance(ref.symbol.interface, ImportInterface):
raise NotImplementedError(
"PSyclone doesn't yet support reference to imported "
Expand Down

0 comments on commit f65a9f1

Please sign in to comment.