Skip to content

Commit 6b5c445

Browse files
committed
despecialize parse_variable_Def
1 parent a4f805d commit 6b5c445

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/systems/model_parsing.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,9 @@ end
246246
# The comments indicate the syntax matched by a block; either when parsed directly
247247
# when it is called recursively for parsing a part of an expression.
248248
# These variable definitions are part of test suite in `test/model_parsing.jl`
249-
function parse_variable_def!(dict, mod, arg, varclass, kwargs, where_types;
249+
Base.@nospecializeinfer function parse_variable_def!(dict, mod, arg, varclass, kwargs, where_types;
250250
def = nothing, type::Type = Real, meta = Dict{DataType, Expr}())
251+
@nospecialize
251252
arg isa LineNumberNode && return
252253
MLStyle.@match arg begin
253254
# Parses: `a`

0 commit comments

Comments
 (0)