Skip to content

Commit

Permalink
fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtsuk committed Nov 7, 2024
1 parent 3d62a1a commit 9f38a8f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def find_subscriptable_reference(
result = find_subscriptable_reference(param)
if result:
return result
elif isinstance(exp, CurriedFunctionCall):
for param in exp.parameters:
result = find_subscriptable_reference(param)
if result:
return result
return None

def transform_aggregates_to_conditionals(exp: Expression) -> Expression:
Expand All @@ -75,7 +80,6 @@ def transform_aggregates_to_conditionals(exp: Expression) -> Expression:
),
),
)

elif isinstance(exp, CurriedFunctionCall):
if (
exp.internal_function.function_name
Expand Down

0 comments on commit 9f38a8f

Please sign in to comment.