Skip to content

Commit 6b91237

Browse files
committed
fix all warnings
1 parent 57d213f commit 6b91237

File tree

14 files changed

+33
-28
lines changed

14 files changed

+33
-28
lines changed

jscomp/js_parser/flow_ast_utils.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*)
7+
[@@@warning "-44-45"]
78

89
open Flow_ast
910

jscomp/js_parser/jsx_parser.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*)
7-
7+
[@@@warning "-44-45"]
88
module Ast = Flow_ast
99
open Token
1010
open Parser_common

jscomp/js_parser/statement_parser.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*)
7-
7+
[@@@warning "-44-45"]
88
module Ast = Flow_ast
99
open Token
1010
open Parser_env

jscomp/js_parser/type_parser.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*)
7-
7+
[@@@warning "-44-45"]
88
module Ast = Flow_ast
99
open Token
1010
open Parser_env

jscomp/syntax/bs_ast_mapper.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*)
2222

2323

24-
open Parsetree
24+
open! Parsetree
2525
open Ast_helper
2626
open Location
2727

jscomp/syntax/bs_ast_mapper.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ let () =
4848
4949
*)
5050

51-
open Parsetree
51+
open! Parsetree
5252

5353
(** {1 A generic Parsetree mapper} *)
5454

lib/4.06.1/bsdep.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37772,7 +37772,7 @@ let () =
3777237772

3777337773
*)
3777437774

37775-
open Parsetree
37775+
open! Parsetree
3777637776

3777737777
(** {1 A generic Parsetree mapper} *)
3777837778

@@ -37862,7 +37862,7 @@ end = struct
3786237862
*)
3786337863

3786437864

37865-
open Parsetree
37865+
open! Parsetree
3786637866
open Ast_helper
3786737867
open Location
3786837868

lib/4.06.1/bsppx.ml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283470,6 +283470,7 @@ end = struct
283470283470
* This source code is licensed under the MIT license found in the
283471283471
* LICENSE file in the root directory of this source tree.
283472283472
*)
283473+
[@@@warning "-44-45"]
283473283474

283474283475
open Flow_ast
283475283476

@@ -284157,7 +284158,7 @@ module Type_parser
284157284158
* This source code is licensed under the MIT license found in the
284158284159
* LICENSE file in the root directory of this source tree.
284159284160
*)
284160-
284161+
[@@@warning "-44-45"]
284161284162
module Ast = Flow_ast
284162284163
open Token
284163284164
open Parser_env
@@ -286992,7 +286993,7 @@ module Jsx_parser
286992286993
* This source code is licensed under the MIT license found in the
286993286994
* LICENSE file in the root directory of this source tree.
286994286995
*)
286995-
286996+
[@@@warning "-44-45"]
286996286997
module Ast = Flow_ast
286997286998
open Token
286998286999
open Parser_common
@@ -288523,7 +288524,7 @@ module Statement_parser
288523288524
* This source code is licensed under the MIT license found in the
288524288525
* LICENSE file in the root directory of this source tree.
288525288526
*)
288526-
288527+
[@@@warning "-44-45"]
288527288528
module Ast = Flow_ast
288528288529
open Token
288529288530
open Parser_env
@@ -295446,7 +295447,7 @@ let () =
295446295447

295447295448
*)
295448295449

295449-
open Parsetree
295450+
open! Parsetree
295450295451

295451295452
(** {1 A generic Parsetree mapper} *)
295452295453

@@ -295536,7 +295537,7 @@ end = struct
295536295537
*)
295537295538

295538295539

295539-
open Parsetree
295540+
open! Parsetree
295540295541
open Ast_helper
295541295542
open Location
295542295543

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16020,7 +16020,7 @@ let () =
1602016020

1602116021
*)
1602216022

16023-
open Parsetree
16023+
open! Parsetree
1602416024

1602516025
(** {1 A generic Parsetree mapper} *)
1602616026

@@ -16110,7 +16110,7 @@ end = struct
1611016110
*)
1611116111

1611216112

16113-
open Parsetree
16113+
open! Parsetree
1611416114
open Ast_helper
1611516115
open Location
1611616116

lib/4.06.1/unstable/js_refmt_compiler.ml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283149,6 +283149,7 @@ end = struct
283149283149
* This source code is licensed under the MIT license found in the
283150283150
* LICENSE file in the root directory of this source tree.
283151283151
*)
283152+
[@@@warning "-44-45"]
283152283153

283153283154
open Flow_ast
283154283155

@@ -283836,7 +283837,7 @@ module Type_parser
283836283837
* This source code is licensed under the MIT license found in the
283837283838
* LICENSE file in the root directory of this source tree.
283838283839
*)
283839-
283840+
[@@@warning "-44-45"]
283840283841
module Ast = Flow_ast
283841283842
open Token
283842283843
open Parser_env
@@ -286671,7 +286672,7 @@ module Jsx_parser
286671286672
* This source code is licensed under the MIT license found in the
286672286673
* LICENSE file in the root directory of this source tree.
286673286674
*)
286674-
286675+
[@@@warning "-44-45"]
286675286676
module Ast = Flow_ast
286676286677
open Token
286677286678
open Parser_common
@@ -288202,7 +288203,7 @@ module Statement_parser
288202288203
* This source code is licensed under the MIT license found in the
288203288204
* LICENSE file in the root directory of this source tree.
288204288205
*)
288205-
288206+
[@@@warning "-44-45"]
288206288207
module Ast = Flow_ast
288207288208
open Token
288208288209
open Parser_env
@@ -295125,7 +295126,7 @@ let () =
295125295126

295126295127
*)
295127295128

295128-
open Parsetree
295129+
open! Parsetree
295129295130

295130295131
(** {1 A generic Parsetree mapper} *)
295131295132

@@ -295215,7 +295216,7 @@ end = struct
295215295216
*)
295216295217

295217295218

295218-
open Parsetree
295219+
open! Parsetree
295219295220
open Ast_helper
295220295221
open Location
295221295222

0 commit comments

Comments
 (0)