You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/compiler.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -388,7 +388,7 @@ module Issue537 end
388
388
@test_logs(
389
389
(
390
390
:warn,
391
-
"`@submodel model` and `@submodel prefix=... model` are deprecated, use `left ~ to_submodel(model)` and `left ~ to_submodel(prefix(model, ...))`, respectively, instead.",
391
+
"`@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.",
392
392
),
393
393
outer()()
394
394
)
@@ -397,7 +397,7 @@ module Issue537 end
397
397
@test_logs(
398
398
(
399
399
:warn,
400
-
"`@submodel model` and `@submodel prefix=... model` are deprecated, use `left ~ to_submodel(model)` and `left ~ to_submodel(prefix(model, ...))`, respectively, instead.",
400
+
"`@submodel model` and `@submodel prefix=... model` are deprecated; see `to_submodel` for the up-to-date syntax.",
401
401
),
402
402
outer_with_prefix()()
403
403
)
@@ -490,7 +490,7 @@ module Issue537 end
490
490
num_steps =length(y[1])
491
491
num_obs =length(y)
492
492
@inboundsfor i in1:num_obs
493
-
x ~to_submodel(prefix(AR1(num_steps, α, μ, σ), "ar1_$i"))
493
+
x ~to_submodel(prefix(AR1(num_steps, α, μ, σ), "ar1_$i"), false)
0 commit comments