File tree Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Expand file tree Collapse file tree 4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ let raw_as_string_exp_exn
85
85
Bs_flow_ast_utils. check_flow_errors ~loc ~offset: (Bs_flow_ast_utils. flow_deli_offset deli) (match kind with
86
86
| Raw_re
87
87
| Raw_exp ->
88
- let (_loc,e),errors = ( Parser_flow. parse_expression (Parser_env. init_env None str) false ) in
88
+ let (_loc,e),errors = Parser_flow. parse_expression (Parser_env. init_env None str) false in
89
89
if kind = Raw_re then
90
90
(match e with
91
91
| Literal {value = RegExp _ } -> ()
Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ o test/gpr_4519_test.cmi test/gpr_4519_test.cmj : cc test/gpr_4519_test.ml | tes
334
334
o test/gpr_459_test.cmi test/gpr_459_test.cmj : cc test/gpr_459_test.ml | test/mt.cmj $stdlib
335
335
o test/gpr_4639_test.cmi test/gpr_4639_test.cmj : cc test/gpr_4639_test.ml | $stdlib
336
336
o test/gpr_4924_test.cmi test/gpr_4924_test.cmj : cc test/gpr_4924_test.ml | $stdlib
337
+ o test/gpr_4931.cmi test/gpr_4931.cmj : cc test/gpr_4931.ml | $stdlib
337
338
o test/gpr_627_test.cmi test/gpr_627_test.cmj : cc test/gpr_627_test.ml | test/mt.cmj $stdlib
338
339
o test/gpr_658.cmi test/gpr_658.cmj : cc test/gpr_658.ml | $stdlib
339
340
o test/gpr_858_test.cmi test/gpr_858_test.cmj : cc test/gpr_858_test.ml | $stdlib
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+
4
+ if ( import . meta. hot ) {
5
+ console . log ( 'es6' )
6
+ }
7
+ ;
8
+
9
+ /* Not a pure module */
Original file line number Diff line number Diff line change
1
+
2
+ [@@@ config {
3
+ flags = [|" -w" ;" -103" |]
4
+ }]
5
+
6
+
7
+ [%% raw{|
8
+ if (import.meta.hot){
9
+ console.log('es6')
10
+ }
11
+ | }]
You can’t perform that action at this time.
0 commit comments