Skip to content

Commit 27a795e

Browse files
authored
flambda-backend: Fix ~region in list comprehensions (#2036)
Remove incorrect region
1 parent b1933f2 commit 27a795e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda/transl_list_comprehension.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ let rec translate_bindings
259259
~attr:default_function_attribute
260260
~loc
261261
~mode:alloc_local
262-
~region:true (* One region per iterator, like for loops *)
262+
~region:false
263263
~body:(add_bindings body)
264264
in
265265
let result =

0 commit comments

Comments
 (0)