Skip to content

Commit a0b413f

Browse files
committed
despecialize further
1 parent 6b5c445 commit a0b413f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/systems/model_parsing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,8 @@ push_something!(v, x...) = push_something!.(Ref(v), x)
13581358

13591359
define_blocks(branch) = [Expr(branch), Expr(branch), Expr(branch), Expr(branch)]
13601360

1361-
Base.@nospecializeinfer function parse_top_level_branch(condition, x::Expr, y::Union{Expr,Nothing} = nothing, branch::Symbol = :if)
1362-
@nospecialize condition x y
1361+
Base.@nospecializeinfer function parse_top_level_branch(condition, x, y = nothing, branch::Symbol = :if)
1362+
@nospecialize
13631363
blocks::Vector{Union{Expr, Nothing}} = component_blk, equations_blk, parameter_blk, variable_blk = define_blocks(branch)
13641364

13651365
for arg in x

0 commit comments

Comments
 (0)