Skip to content

Commit e06b349

Browse files
committed
remove unused code
1 parent 17ca99d commit e06b349

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

jscomp/core/bs_conditional_initial.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
(** This function set up built in compile time variables used in
2626
conditional compilation so that
2727
{[
28-
#if BS then
29-
#elif .. then
28+
#if BS
29+
#elif ..
3030
#end
3131
]}
3232
Is understood, also make sure the playground do the same initialization.

jscomp/ext/warnings.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,9 +591,7 @@ let descriptions =
591591
(37, "Unused constructor.");
592592
(38, "Unused extension constructor.");
593593
(39, "Unused rec flag.");
594-
(40, "Constructor or label name used out of scope.");
595594
(41, "Ambiguous constructor or label name.");
596-
(42, "Disambiguated constructor or label name (compatibility warning).");
597595
(43, "Nonoptional label applied as optional.");
598596
(44, "Open statement shadows an already defined identifier.");
599597
(45, "Open statement shadows an already defined label or constructor.");
@@ -609,7 +607,6 @@ let descriptions =
609607
(55, "Inlining impossible");
610608
(56, "Unreachable case in a pattern-matching (based on type information).");
611609
(57, "Ambiguous or-pattern variables under guard");
612-
(58, "Missing cmx file");
613610
(59, "Assignment to non-mutable value");
614611
(60, "Unused module declaration");
615612
(61, "Unboxable type in primitive declaration");

0 commit comments

Comments
 (0)