Skip to content

Commit

Permalink
Deprecate unsorted_arguments in favor of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Jun 23, 2024
1 parent bcb7c1b commit 125506f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ children(x::BasicSymbolic) = arguments(x)

sorted_children(x::BasicSymbolic) = sorted_arguments(x)

function unsorted_arguments(x)
Base.depwarn("`unsorted_arguments` is deprecated, use `arguments` instead",
:unsorted_arguments)
arguments(x)
end

function arguments(x::BasicSymbolic)
@compactified x::BasicSymbolic begin
Term => return x.arguments
Expand Down

0 comments on commit 125506f

Please sign in to comment.