Skip to content

Commit 5fe65b3

Browse files
committed
Merge remote-tracking branch 'origin/torfjelde/returned-quantities-macro' into torfjelde/returned-quantities-macro
2 parents 5478fb3 + 7067695 commit 5fe65b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/submodel_macro.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ function returned_quantities_expr(prefix_expr, expr, ctx=esc(:__context__))
403403
error("$(prefix_left) is not a valid kwarg")
404404
end
405405

406-
# The user expects `@submodel ...` to return the
406+
# The user expects `@returned_quantities ...` to return the
407407
# return-value of the `...`, hence we need to capture
408408
# the return-value and handle it correctly.
409409
@gensym retval

0 commit comments

Comments
 (0)