|
1 | 1 |
|
2 | 2 |
|
3 | 3 | Exception Analysis
|
4 |
| - File "Exn.res", line 1, characters 5-11 |
| 4 | + Exn.res:1:5-10 |
5 | 5 | raises might raise Not_found (Exn.res:1:19) and is not annotated with @raises(Not_found)
|
6 | 6 |
|
7 | 7 | Exception Analysis
|
8 |
| - File "Exn.res", line 19, characters 5-29 |
| 8 | + Exn.res:19:5-28 |
9 | 9 | callsRaiseWithAnnotation might raise Not_found (Exn.res:19:31) and is not annotated with @raises(Not_found)
|
10 | 10 |
|
11 | 11 | Exception Analysis
|
12 |
| - File "Exn.res", line 22, characters 5-43 |
| 12 | + Exn.res:22:5-42 |
13 | 13 | callsRaiseWithAnnotationAndIsAnnotated might raise Not_found (Exn.res:22:45) and is not annotated with @raises(Not_found)
|
14 | 14 |
|
15 | 15 | Exception Analysis
|
16 |
| - File "Exn.res", line 22, characters 5-43 |
| 16 | + Exn.res:22:5-42 |
17 | 17 | callsRaiseWithAnnotationAndIsAnnotated might raise Not_found (Exn.res:22:45) and is annotated with redundant @raises(A)
|
18 | 18 |
|
19 | 19 | Exception Analysis
|
20 |
| - File "Exn.res", line 24, characters 5-6 |
| 20 | + Exn.res:24:5 |
21 | 21 | z might raise Failure (Exn.res:24:8) and is not annotated with @raises(Failure)
|
22 | 22 |
|
23 | 23 | Exception Analysis
|
24 |
| - File "Exn.res", line 26, characters 5-20 |
| 24 | + Exn.res:26:5-19 |
25 | 25 | incompleteMatch might raise Match_failure (Exn.res:27:2) and is not annotated with @raises(Match_failure)
|
26 | 26 |
|
27 | 27 | Exception Analysis
|
28 |
| - File "Exn.res", line 34, characters 5-14 |
| 28 | + Exn.res:34:5-13 |
29 | 29 | twoRaises might raise [A (Exn.res:36:4), B (Exn.res:39:4)] and is not annotated with @raises([A, B])
|
30 | 30 |
|
31 | 31 | Exception Analysis
|
32 |
| - File "Exn.res", line 43, characters 5-15 |
| 32 | + Exn.res:43:5-14 |
33 | 33 | sequencing might raise A (Exn.res:44:2) and is not annotated with @raises(A)
|
34 | 34 |
|
35 | 35 | Exception Analysis
|
36 |
| - File "Exn.res", line 50, characters 5-15 |
| 36 | + Exn.res:50:5-14 |
37 | 37 | wrongCatch might raise B (Exn.res:51:6) and is not annotated with @raises(B)
|
38 | 38 |
|
39 | 39 | Exception Analysis
|
40 |
| - File "Exn.res", line 56, characters 5-16 |
| 40 | + Exn.res:56:5-15 |
41 | 41 | wrongCatch2 might raise [C (Exn.res:57:24), Match_failure (Exn.res:57:2)] and is not annotated with @raises([C, Match_failure])
|
42 | 42 |
|
43 | 43 | Exception Analysis
|
44 |
| - File "Exn.res", line 64, characters 5-20 |
| 44 | + Exn.res:64:5-19 |
45 | 45 | raise2Annotate3 might raise [A (Exn.res:66:4), B (Exn.res:69:4)] and is annotated with redundant @raises(C)
|
46 | 46 |
|
47 | 47 | Exception Analysis
|
48 |
| - File "Exn.res", line 75, characters 5-25 |
| 48 | + Exn.res:75:5-24 |
49 | 49 | parse_json_from_file might raise Error (Exn.res:78:4) and is not annotated with @raises(Error)
|
50 | 50 |
|
51 | 51 | Exception Analysis
|
52 |
| - File "Exn.res", line 84, characters 5-12 |
| 52 | + Exn.res:84:5-11 |
53 | 53 | reRaise might raise B (Exn.res:86:19) and is not annotated with @raises(B)
|
54 | 54 |
|
55 | 55 | Exception Analysis
|
56 |
| - File "Exn.res", line 95, characters 5-23 |
| 56 | + Exn.res:95:5-22 |
57 | 57 | raiseInInternalLet might raise A (Exn.res:96:14) and is not annotated with @raises(A)
|
58 | 58 |
|
59 | 59 | Exception Analysis
|
60 |
| - File "Exn.res", line 100, characters 5-17 |
| 60 | + Exn.res:100:5-16 |
61 | 61 | indirectCall might raise Not_found (Exn.res:100:31) and is not annotated with @raises(Not_found)
|
62 | 62 |
|
63 | 63 | Exception Analysis
|
64 |
| - File "Exn.res", line 148, characters 5-17 |
| 64 | + Exn.res:148:5-16 |
65 | 65 | severalCases might raise Failure (Exn.res:150:13 Exn.res:151:13 Exn.res:152:15) and is not annotated with @raises(Failure)
|
66 | 66 |
|
67 | 67 | Exception Analysis
|
68 |
| - File "Exn.res", line 159, characters 32-57 |
| 68 | + Exn.res:159:32-56 |
69 | 69 | String.uncapitalize_ascii does not raise and is annotated with redundant @doesNotRaise
|
70 | 70 |
|
71 | 71 | Exception Analysis
|
72 |
| - File "Exn.res", line 161, characters 32-64 |
| 72 | + Exn.res:161:32-63 |
73 | 73 | String.uncapitalize_ascii does not raise and is annotated with redundant @doesNotRaise
|
74 | 74 |
|
75 | 75 | Exception Analysis
|
76 |
| - File "Exn.res", line 163, characters 47-72 |
| 76 | + Exn.res:163:47-71 |
77 | 77 | String.uncapitalize_ascii does not raise and is annotated with redundant @doesNotRaise
|
78 | 78 |
|
79 | 79 | Exception Analysis
|
80 |
| - File "Exn.res", line 163, characters 47-80 |
| 80 | + Exn.res:163:47-79 |
81 | 81 | expression does not raise and is annotated with redundant @doesNotRaise
|
82 | 82 |
|
83 | 83 | Exception Analysis
|
84 |
| - File "Exn.res", line 169, characters 51-56 |
| 84 | + Exn.res:169:51-55 |
85 | 85 | expression does not raise and is annotated with redundant @doesNotRaise
|
86 | 86 |
|
87 | 87 | Exception Analysis
|
88 |
| - File "Exn.res", line 167, characters 25-57 |
| 88 | + Exn.res:167:25-56 |
89 | 89 | String.uncapitalize_ascii does not raise and is annotated with redundant @doesNotRaise
|
90 | 90 |
|
91 | 91 | Exception Analysis
|
92 |
| - File "Exn.res", line 176, characters 5-24 |
| 92 | + Exn.res:176:5-23 |
93 | 93 | redundantAnnotation raises nothing and is annotated with redundant @raises(Invalid_argument)
|
94 | 94 |
|
95 | 95 | Exception Analysis
|
96 |
| - File "Exn.res", line 178, characters 5-7 |
| 96 | + Exn.res:178:5-6 |
97 | 97 | _x might raise A (Exn.res:178:9) and is not annotated with @raises(A)
|
98 | 98 |
|
99 | 99 | Exception Analysis
|
100 |
| - File "Exn.res", line 180, characters 5-6 |
| 100 | + Exn.res:180:5 |
101 | 101 | _ might raise A (Exn.res:180:8) and is not annotated with @raises(A)
|
102 | 102 |
|
103 | 103 | Exception Analysis
|
104 |
| - File "Exn.res", line 182, characters 5-7 |
| 104 | + Exn.res:182:5-6 |
105 | 105 | () might raise A (Exn.res:182:9) and is not annotated with @raises(A)
|
106 | 106 |
|
107 | 107 | Exception Analysis
|
108 |
| - File "Exn.res", line 184, characters 1-17 |
| 108 | + Exn.res:184:1-16 |
109 | 109 | Toplevel expression might raise Not_found (Exn.res:184:0) and is not annotated with @raises(Not_found)
|
110 | 110 |
|
111 | 111 | Exception Analysis
|
112 |
| - File "Exn.res", line 186, characters 1-20 |
| 112 | + Exn.res:186:1-19 |
113 | 113 | Toplevel expression might raise exit (Exn.res:186:7) and is not annotated with @raises(exit)
|
114 | 114 |
|
115 | 115 | Exception Analysis
|
116 |
| - File "Exn.res", line 196, characters 45-47 |
| 116 | + Exn.res:196:45-46 |
117 | 117 | expression does not raise and is annotated with redundant @doesNotRaise
|
118 | 118 |
|
119 | 119 | Exception Analysis
|
120 |
| - File "Exn.res", line 196, characters 5-22 |
| 120 | + Exn.res:196:5-21 |
121 | 121 | onResultPipeWrong might raise Assert_failure (Exn.res:196:48) and is not annotated with @raises(Assert_failure)
|
122 | 122 |
|
123 | 123 | Exception Analysis
|
124 |
| - File "ExnA.res", line 1, characters 5-8 |
| 124 | + ExnA.res:1:5-7 |
125 | 125 | bar might raise Not_found (ExnA.res:1:16) and is not annotated with @raises(Not_found)
|
126 | 126 |
|
127 | 127 | Analysis reported 31 issues (Exception Analysis:31)
|
0 commit comments