File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ def hasHeapOut (proc : Procedure) : Bool :=
142142
143143/-- Build and attach `proc`'s modifies frame, then clear the clause. -/
144144def transformModifiesClauses (model: SemanticModel)
145- (proc : Procedure) (useEnumeratedFrame : Bool := false ) : Except (Array DiagnosticModel) Procedure :=
145+ (proc : Procedure) (useEnumeratedFrame : Bool) : Except (Array DiagnosticModel) Procedure :=
146146 match proc.body with
147147 | .External => .ok proc
148148 | .Opaque postconds impl modifiesExprs =>
@@ -222,7 +222,7 @@ This is a Laurel → Laurel pass that should run after heap parameterization.
222222Always returns the (best-effort) transformed program together with any diagnostics,
223223so that later passes can continue and report additional errors.
224224-/
225- def modifiesClausesTransform (model: SemanticModel) (program : Program) (useEnumeratedFrame : Bool := false ) : Program × List DiagnosticModel :=
225+ def modifiesClausesTransform (model: SemanticModel) (program : Program) (useEnumeratedFrame : Bool) : Program × List DiagnosticModel :=
226226 let (procs', errors) := program.staticProcedures.foldl (fun (acc, errs) proc =>
227227 match transformModifiesClauses model proc useEnumeratedFrame with
228228 | .ok proc' => (acc ++ [proc'], errs)
You can’t perform that action at this time.
0 commit comments