Skip to content

Commit 357d151

Browse files
committed
snapshot
1 parent 84d5d60 commit 357d151

File tree

5 files changed

+6
-20
lines changed

5 files changed

+6
-20
lines changed

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88713,7 +88713,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
8871388713
else []
8871488714
) in
8871588715
if p.num_nonconst = 1 then tails
88716-
else ("tag",
88716+
else (L.tag,
8871788717
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails in
8871888718
if p.num_nonconst = 1 && not !Js_config.debug then
8871988719
pp_comment_option f (Some p.name);
@@ -88728,7 +88728,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
8872888728
if p.num_nonconst = 1 then
8872988729
tails
8873088730
else
88731-
("tag",
88731+
(L.tag,
8873288732
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails
8873388733
in
8873488734
if p.num_nonconst = 1 && not !Js_config.debug then

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88713,7 +88713,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
8871388713
else []
8871488714
) in
8871588715
if p.num_nonconst = 1 then tails
88716-
else ("tag",
88716+
else (L.tag,
8871788717
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails in
8871888718
if p.num_nonconst = 1 && not !Js_config.debug then
8871988719
pp_comment_option f (Some p.name);
@@ -88728,7 +88728,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
8872888728
if p.num_nonconst = 1 then
8872988729
tails
8873088730
else
88731-
("tag",
88731+
(L.tag,
8873288732
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails
8873388733
in
8873488734
if p.num_nonconst = 1 && not !Js_config.debug then

lib/4.06.1/whole_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381923,7 +381923,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
381923381923
else []
381924381924
) in
381925381925
if p.num_nonconst = 1 then tails
381926-
else ("tag",
381926+
else (L.tag,
381927381927
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails in
381928381928
if p.num_nonconst = 1 && not !Js_config.debug then
381929381929
pp_comment_option f (Some p.name);
@@ -381938,7 +381938,7 @@ and expression_desc cxt ~(level:int) f x : cxt =
381938381938
if p.num_nonconst = 1 then
381939381939
tails
381940381940
else
381941-
("tag",
381941+
(L.tag,
381942381942
if !Js_config.debug then tag else {tag with comment = Some p.name}) :: tails
381943381943
in
381944381944
if p.num_nonconst = 1 && not !Js_config.debug then

lib/es6/caml_obj.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ import * as Caml_primitive from "./caml_primitive.js";
55
var for_in = (function(o,foo){
66
for (var x in o) { foo(x) }});
77

8-
function caml_obj_block(tag, size) {
9-
var v = new Array(size);
10-
v.tag = tag;
11-
return v;
12-
}
13-
148
var caml_obj_dup = (function(x){
159
if(Array.isArray(x)){
1610
var len = x.length
@@ -405,7 +399,6 @@ function caml_obj_set_tag(prim, prim$1) {
405399
}
406400

407401
export {
408-
caml_obj_block ,
409402
caml_obj_dup ,
410403
update_dummy ,
411404
caml_compare ,

lib/js/caml_obj.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ var Caml_primitive = require("./caml_primitive.js");
55
var for_in = (function(o,foo){
66
for (var x in o) { foo(x) }});
77

8-
function caml_obj_block(tag, size) {
9-
var v = new Array(size);
10-
v.tag = tag;
11-
return v;
12-
}
13-
148
var caml_obj_dup = (function(x){
159
if(Array.isArray(x)){
1610
var len = x.length
@@ -404,7 +398,6 @@ function caml_obj_set_tag(prim, prim$1) {
404398

405399
}
406400

407-
exports.caml_obj_block = caml_obj_block;
408401
exports.caml_obj_dup = caml_obj_dup;
409402
exports.update_dummy = update_dummy;
410403
exports.caml_compare = caml_compare;

0 commit comments

Comments
 (0)