From 53ca5a7fc5829d4c5b1cffc6d5a5f1706f8ec3cd Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 27 Jul 2020 13:47:29 +0200 Subject: =?UTF-8?q?Refactor=20parser=20=F0=9F=9A=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout') 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; -- cgit v1.2.3