Skip to content

Commit 13a2bf7

Browse files
committed
forgot one
1 parent ed0cec3 commit 13a2bf7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/submodel_macro.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ julia> # Or using some arbitrary expression.
188188
submodel_prefix_expr (generic function with 2 methods)
189189
190190
julia> @varname(var"3.x") in keys(VarInfo(submodel_prefix_expr()))
191+
┌ Warning: `@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.
192+
│ caller = ip:0x0
193+
└ @ Core :-1
191194
true
192195
193196
julia> # (×) Automatic prefixing without a left-hand side expression does not work!

0 commit comments

Comments
 (0)