summaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/model.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/model.rs b/src/layout/model.rs
index 3f1c9e7a..91d21037 100644
--- a/src/layout/model.rs
+++ b/src/layout/model.rs
@@ -142,7 +142,7 @@ impl<'a> ModelLayouter<'a> {
}).await;
// Add the errors generated by the model to the error list.
- self.feedback.extend_offset(model.span.start, layouted.feedback);
+ self.feedback.extend_offset(layouted.feedback, model.span.start);
for command in layouted.output {
self.execute_command(command, model.span).await;