diff --git a/jscomp/test/dist/jscomp/test/ast_mapper_unused_warning_test.js b/jscomp/test/dist/jscomp/test/ast_mapper_unused_warning_test.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/ast_mapper_unused_warning_test.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/async_ideas.js b/jscomp/test/dist/jscomp/test/async_ideas.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/async_ideas.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/condition_compilation_test.js b/jscomp/test/dist/jscomp/test/condition_compilation_test.js deleted file mode 100644 index 9d54c0e0d5..0000000000 --- a/jscomp/test/dist/jscomp/test/condition_compilation_test.js +++ /dev/null @@ -1,68 +0,0 @@ -// Generated by Melange -'use strict'; - -var Mt = require("./mt.js"); - -var v = { - contents: 1 -}; - -v.contents = v.contents + 1 | 0; - -var a = v.contents; - -var suites = { - contents: /* [] */0 -}; - -var test_id = { - contents: 0 -}; - -function eq(loc, x, y) { - test_id.contents = test_id.contents + 1 | 0; - suites.contents = { - hd: [ - loc + (" id " + String(test_id.contents)), - (function (param) { - return { - TAG: /* Eq */0, - _0: x, - _1: y - }; - }) - ], - tl: suites.contents - }; -} - -eq("File \"condition_compilation_test.ml\", line 98, characters 5-12", 3, 3); - -eq("File \"condition_compilation_test.ml\", line 99, characters 5-12", v.contents, 2); - -Mt.from_pair_suites("Condition_compilation_test", suites.contents); - -var b = "u"; - -var buffer_size = 1; - -var vv = 3; - -var version_gt_3 = true; - -var version = -1; - -var ocaml_veriosn = "unknown"; - -exports.b = b; -exports.buffer_size = buffer_size; -exports.vv = vv; -exports.v = v; -exports.a = a; -exports.version_gt_3 = version_gt_3; -exports.version = version; -exports.ocaml_veriosn = ocaml_veriosn; -exports.suites = suites; -exports.test_id = test_id; -exports.eq = eq; -/* Not a pure module */ diff --git a/jscomp/test/dist/jscomp/test/derive_dyntype.js b/jscomp/test/dist/jscomp/test/derive_dyntype.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/derive_dyntype.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/derive_type_test.js b/jscomp/test/dist/jscomp/test/derive_type_test.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/derive_type_test.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/poly_variant_test.js b/jscomp/test/dist/jscomp/test/poly_variant_test.js deleted file mode 100644 index bf662cb380..0000000000 --- a/jscomp/test/dist/jscomp/test/poly_variant_test.js +++ /dev/null @@ -1,104 +0,0 @@ -// Generated by Melange -'use strict'; - -var Mt = require("./mt.js"); - -var suites = { - contents: /* [] */0 -}; - -var test_id = { - contents: 0 -}; - -function eq(loc, x, y) { - test_id.contents = test_id.contents + 1 | 0; - suites.contents = { - hd: [ - loc + (" id " + String(test_id.contents)), - (function (param) { - return { - TAG: /* Eq */0, - _0: x, - _1: y - }; - }) - ], - tl: suites.contents - }; -} - -function hey_string (option){ - switch(option){ - case "on_closed" : - case "on_open" : - case "in" : return option - default : throw Error ("impossible") - } -} -function hey_int (option){ - switch (option){ - case 0 : - case 3 : - case 4 : - case 5: - case 6 : return option - default : throw Error("impossible") - } - } -; - -var uu = [ - hey_string("on_open"), - hey_string("on_closed"), - hey_string("in") -]; - -var vv = [ - hey_int(3), - hey_int(0), - hey_int(4) -]; - -eq("File \"poly_variant_test.ml\", line 58, characters 5-12", vv, [ - 3, - 0, - 4 - ]); - -eq("File \"poly_variant_test.ml\", line 59, characters 5-12", [ - hey_int(5), - hey_int(6) - ], [ - 5, - 6 - ]); - -eq("File \"poly_variant_test.ml\", line 60, characters 5-12", uu, [ - "on_open", - "on_closed", - "in" - ]); - -hey_string("on_closed"); - -hey_string("in"); - -function p_is_int_test(x) { - if (typeof x === "string") { - return 2; - } else { - return 3; - } -} - -eq("File \"poly_variant_test.ml\", line 142, characters 5-12", 2, 2); - -eq("File \"poly_variant_test.ml\", line 143, characters 5-12", 3, p_is_int_test({ - NAME: "b", - VAL: 2 - })); - -Mt.from_pair_suites("Poly_variant_test", suites.contents); - -/* Not a pure module */ diff --git a/jscomp/test/dist/jscomp/test/simple_derive_test.js b/jscomp/test/dist/jscomp/test/simple_derive_test.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/simple_derive_test.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/simple_derive_use.js b/jscomp/test/dist/jscomp/test/simple_derive_use.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/simple_derive_use.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/swap_test.js b/jscomp/test/dist/jscomp/test/swap_test.js deleted file mode 100644 index 9bb81dacbc..0000000000 --- a/jscomp/test/dist/jscomp/test/swap_test.js +++ /dev/null @@ -1,2 +0,0 @@ -// Generated by Melange -/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ diff --git a/jscomp/test/dist/jscomp/test/undefine_conditional.js b/jscomp/test/dist/jscomp/test/undefine_conditional.js deleted file mode 100644 index ff9eefc476..0000000000 --- a/jscomp/test/dist/jscomp/test/undefine_conditional.js +++ /dev/null @@ -1,14 +0,0 @@ -// Generated by Melange -'use strict'; - - -var x = 3; - -var y = 6; - -var has_ocaml_version = true; - -exports.x = x; -exports.y = y; -exports.has_ocaml_version = has_ocaml_version; -/* No side effect */