From 180529c30282d39f3506633716e3fe439db03309 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Fri, 3 Nov 2023 10:19:29 +0100 Subject: Extracting the report from the Location checker is now in it’s own function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/syntax/tree.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/syntax/tree.ml') diff --git a/lib/syntax/tree.ml b/lib/syntax/tree.ml index 34baae0..e70b66a 100644 --- a/lib/syntax/tree.ml +++ b/lib/syntax/tree.ml @@ -115,6 +115,6 @@ module Location = struct type instruction = Instruction.t' type t = S.pos * S.pos Ast.statement list - let location : S.pos -> instruction list -> t * Report.t list = - fun pos block -> ((pos, block), []) + let v _ = [] + let location : S.pos -> instruction list -> t = fun pos block -> (pos, block) end -- cgit v1.2.3