Skip to content

Commit 8734ee8

Browse files
refactor: add depwarn for DelayParentScope
1 parent 0d69ac5 commit 8734ee8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/systems/abstractsystem.jl

+1
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,7 @@ end
12071207
Apply `DelayParentScope` to `sym`, with a delay of `N` and `parent` being `LocalScope`.
12081208
"""
12091209
function DelayParentScope(sym::Union{Num, Symbolic, Symbolics.Arr{Num}}, N)
1210+
Base.depwarn("`DelayParentScope` is deprecated and will be removed soon", :DelayParentScope)
12101211
apply_to_variables(sym) do sym
12111212
if iscall(sym) && operation(sym) == getindex
12121213
args = arguments(sym)

0 commit comments

Comments
 (0)