We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc604da commit 106ba77Copy full SHA for 106ba77
middle_end/flambda2/from_lambda/lambda_to_flambda.ml
@@ -1193,7 +1193,8 @@ let rec cps acc env ccenv (lam : L.lambda) (k : cps_continuation)
1193
Misc.fatal_errorf "Wrong number of arguments for Lraise: %a"
1194
Printlambda.primitive prim)
1195
| _ ->
1196
- let id = Ident.create_local "prim" in
+ let name = Printlambda.name_of_primitive prim in
1197
+ let id = Ident.create_local name in
1198
let result_layout = L.primitive_result_layout prim in
1199
(match result_layout with
1200
| Pvalue _ | Punboxed_float | Punboxed_int _ -> ()
0 commit comments