Skip to content

Commit

Permalink
Fix list copying
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Jul 24, 2024
1 parent 6a0918b commit ef1a57c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opshin/type_impls.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,14 +1071,14 @@ def copy_only_attributes(self) -> plt.AST:
OVar("self"),
OLambda(
["v"],
transform_output_map(self.typ)(
transform_ext_params_map(self.typ)(
plt.Apply(
self.typ.copy_only_attributes(),
transform_ext_params_map(self.typ)(OVar("v")),
transform_output_map(self.typ)(OVar("v")),
)
),
),
plt.EmptyDataList(),
empty_list(self.typ),
)
return OLambda(["self"], mapped_attrs)

Expand Down

0 comments on commit ef1a57c

Please sign in to comment.