Skip to content

Commit ed4bb76

Browse files
authored
fixed typo in warning
1 parent b7b2e1d commit ed4bb76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submodel_macro.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ function prefix_submodel_context(prefix::Bool, ctx)
224224
return ctx
225225
end
226226

227-
const SUBMODEL_DEPWARN_MSG = "`@submodel model` and `@submodel prefix=... model` are deprecated, use `left ~ returned(returned(model))` and `left ~ returned(returned(prefix(model, ...)))`, respectively, instead."
227+
const SUBMODEL_DEPWARN_MSG = "`@submodel model` and `@submodel prefix=... model` are deprecated, use `left ~ returned(model)` and `left ~ returned(prefix(model, ...))`, respectively, instead."
228228

229229
function submodel(prefix_expr, expr, ctx=esc(:__context__))
230230
prefix_left, prefix = getargs_assignment(prefix_expr)

0 commit comments

Comments
 (0)