We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40c51a5 commit c67ab51Copy full SHA for c67ab51
tests/analysis_tests/tests-reanalyze/deadcode/expected/exception.txt
@@ -91,5 +91,9 @@
91
Exception Analysis
92
ExnA.res:1:5-7
93
bar might raise Not_found (ExnA.res:1:16) and is not annotated with @raises(Not_found)
94
+
95
+ Exception Analysis
96
+ ExternalTest.res:7:5-24
97
+ bigIntFromStringExn2 might raise Exn.Error (ExternalTest.res:7:35) and is not annotated with @raises(Exn.Error)
98
- Analysis reported 23 issues (Exception Analysis:23)
99
+ Analysis reported 24 issues (Exception Analysis:24)
tests/analysis_tests/tests-reanalyze/deadcode/src/exception/ExternalTest.res
@@ -0,0 +1,7 @@
1
+@raises(Exn.Error)
2
+external bigIntFromStringExn: string => bigint = "BigInt"
3
4
5
+let bigIntFromStringExn = s => s->bigIntFromStringExn
6
7
+let bigIntFromStringExn2 = s => s->bigIntFromStringExn
0 commit comments