Skip to content

Commit 897c9fa

Browse files
committed
More structured extend
1 parent 879b399 commit 897c9fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/model_parsing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function parse_extend!(exprs, ext, dict, body)
204204
end
205205
ext[] = a
206206
push!(b.args, Expr(:kw, :name, Meta.quot(a)))
207-
dict[:extend] = [Symbol.(vars.args), a, readable_code(b)]
207+
dict[:extend] = [Symbol.(vars.args), a, b.args[1]]
208208
push!(expr.args, :($a = $b))
209209
if vars !== nothing
210210
push!(expr.args, :(@unpack $vars = $a))

0 commit comments

Comments
 (0)