Skip to content

Commit 5c494c2

Browse files
refactor: add depwarn for DelayParentScope
1 parent 9890b26 commit 5c494c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/systems/abstractsystem.jl

+2
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,8 @@ 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(
1211+
"`DelayParentScope` is deprecated and will be removed soon", :DelayParentScope)
12101212
apply_to_variables(sym) do sym
12111213
if iscall(sym) && operation(sym) == getindex
12121214
args = arguments(sym)

0 commit comments

Comments
 (0)