File tree Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,8 @@ nested_obj_literal.cmj :
340
340
nested_obj_literal.cmx :
341
341
nested_obj_test.cmj :
342
342
nested_obj_test.cmx :
343
+ noassert.cmj :
344
+ noassert.cmx :
343
345
number_lexer.cmj : ../stdlib/sys.cmi ../stdlib/lexing.cmi
344
346
number_lexer.cmx : ../stdlib/sys.cmx ../stdlib/lexing.cmx
345
347
obj_literal_ppx.cmj : ../stdlib/array.cmi
@@ -1000,6 +1002,8 @@ nested_obj_literal.cmo :
1000
1002
nested_obj_literal.cmj :
1001
1003
nested_obj_test.cmo :
1002
1004
nested_obj_test.cmj :
1005
+ noassert.cmo :
1006
+ noassert.cmj :
1003
1007
number_lexer.cmo : ../stdlib/sys.cmi ../stdlib/lexing.cmi
1004
1008
number_lexer.cmj : ../stdlib/sys.cmj ../stdlib/lexing.cmj
1005
1009
obj_literal_ppx.cmo : ../stdlib/array.cmi
Original file line number Diff line number Diff line change
1
+
2
+
3
+
4
+
5
+ let f () = assert false
6
+
7
+
8
+ let h () = assert (3 > 2 )
Original file line number Diff line number Diff line change @@ -325,4 +325,6 @@ format_test
325
325
326
326
config1_test
327
327
config2_test
328
- largest_int_flow
328
+ largest_int_flow
329
+
330
+ noassert
Original file line number Diff line number Diff line change
1
+ // GENERATED CODE BY BUCKLESCRIPT VERSION 0.5.5 , PLEASE EDIT WITH CARE
2
+ 'use strict' ;
3
+
4
+ var Caml_builtin_exceptions = require ( "../caml_builtin_exceptions" ) ;
5
+
6
+ function f ( ) {
7
+ throw [
8
+ Caml_builtin_exceptions . assert_failure ,
9
+ [
10
+ "noassert.ml" ,
11
+ 5 ,
12
+ 11
13
+ ]
14
+ ] ;
15
+ }
16
+
17
+ function h ( ) {
18
+ return 0 ;
19
+ }
20
+
21
+ exports . f = f ;
22
+ exports . h = h ;
23
+ /* No side effect */
You can’t perform that action at this time.
0 commit comments