summaryrefslogtreecommitdiff
path: root/compiler/Pure.ml
diff options
context:
space:
mode:
authorSon Ho2023-12-22 21:03:17 +0100
committerSon Ho2023-12-22 21:03:17 +0100
commit70d506d148e5ae1a3e4115034161f449aff666ed (patch)
tree43faecd146f5d792d398512097b3afdb503ae11c /compiler/Pure.ml
parentb230ddacd44a1ca1804940bf89253bde8de7ffe1 (diff)
Fix the output type of the loops backward functions
Diffstat (limited to '')
-rw-r--r--compiler/Pure.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/Pure.ml b/compiler/Pure.ml
index 71531688..a879ba37 100644
--- a/compiler/Pure.ml
+++ b/compiler/Pure.ml
@@ -754,9 +754,7 @@ and loop = {
inputs : var list;
inputs_lvs : typed_pattern list;
(** The inputs seen as patterns. See {!fun_body}. *)
- back_output_tys : ty list option;
- (** The types of the given back values, if we ar esynthesizing a backward
- function *)
+ output_ty : ty; (** The output type of the loop *)
loop_body : texpression;
}