9
9
10
10
#directery " foo/" ;;
11
11
[%% expect {|
12
- Unknown directive " directery" .
12
+ Unknown directive " directery" .
13
13
Hint : Did you mean " directory" ?
14
14
| }];;
15
15
@@ -22,7 +22,7 @@ Line 1, characters 8-19:
22
22
1 | let _ = Fun. pratect
23
23
^^^^^^^^^^^
24
24
Error : Unbound value " Fun.pratect"
25
- Hint : Did you mean " Fun.protect" ?
25
+ Hint : Did you mean " Fun.protect" ?
26
26
| }];;
27
27
28
28
type 'a t = 'a aray
@@ -31,7 +31,7 @@ Line 1, characters 15-19:
31
31
1 | type 'a t = 'a aray
32
32
^^^^
33
33
Error : Unbound type constructor " aray"
34
- Hint : Did you mean " array" ?
34
+ Hint : Did you mean " array" ?
35
35
| }];;
36
36
37
37
module _ = Stdlib. Aray
@@ -40,7 +40,7 @@ Line 1, characters 11-22:
40
40
1 | module _ = Stdlib. Aray
41
41
^^^^^^^^^^^
42
42
Error : Unbound module " Stdlib.Aray"
43
- Hint : Did you mean " Stdlib.Array" ?
43
+ Hint : Did you mean " Stdlib.Array" ?
44
44
| }];;
45
45
46
46
let x = Same 42
@@ -49,7 +49,7 @@ Line 1, characters 8-12:
49
49
1 | let x = Same 42
50
50
^^^^
51
51
Error : Unbound constructor " Same"
52
- Hint : Did you mean " Some" ?
52
+ Hint : Did you mean " Some" ?
53
53
| }];;
54
54
55
55
let x : int option = Same 42
@@ -59,7 +59,7 @@ Line 1, characters 21-25:
59
59
^^^^
60
60
Error : This variant expression is expected to have type " int option"
61
61
There is no constructor " Same" within type " option"
62
- Hint : Did you mean " Some" ?
62
+ Hint : Did you mean " Some" ?
63
63
| }];;
64
64
65
65
let x = { content = 42 }
@@ -68,7 +68,7 @@ Line 1, characters 10-17:
68
68
1 | let x = { content = 42 }
69
69
^^^^^^^
70
70
Error : Unbound record field " content"
71
- Hint : Did you mean " contents" ?
71
+ Hint : Did you mean " contents" ?
72
72
| }];;
73
73
74
74
let x : int ref = { content = 42 }
@@ -78,7 +78,7 @@ Line 1, characters 20-27:
78
78
^^^^^^^
79
79
Error : This record expression is expected to have type " int ref"
80
80
There is no field " content" within type " ref"
81
- Hint : Did you mean " contents" ?
81
+ Hint : Did you mean " contents" ?
82
82
| }];;
83
83
84
84
class foobar = object end
@@ -89,7 +89,7 @@ Line 2, characters 23-29:
89
89
2 | let _ = object inherit foobaz end
90
90
^^^^^^
91
91
Error : Unbound class " foobaz"
92
- Hint : Did you mean " foobar" ?
92
+ Hint : Did you mean " foobar" ?
93
93
| }];;
94
94
95
95
module type Foobar = sig end
@@ -100,7 +100,7 @@ Line 2, characters 13-19:
100
100
2 | module Foo : Foobaz = struct end
101
101
^^^^^^
102
102
Error : Unbound module type " Foobaz"
103
- Hint : Did you mean " Foobar" ?
103
+ Hint : Did you mean " Foobar" ?
104
104
| }];;
105
105
106
106
class type foobar = object end
@@ -111,7 +111,7 @@ Line 2, characters 9-15:
111
111
2 | let _ : #foobaz = object end
112
112
^^^^^^
113
113
Error : Unbound class type " foobaz"
114
- Hint : Did you mean " foobar" ?
114
+ Hint : Did you mean " foobar" ?
115
115
| }];;
116
116
117
117
let _ =
@@ -124,7 +124,7 @@ let _ =
124
124
Line 5 , characters 22-33 :
125
125
5 | method update n = foobaz < - n
126
126
^^^^^^^^^^^
127
- Error : The value " foobaz" is not an instance variable
127
+ Error : The value " foobaz" is not an instance variable
128
128
Hint : Did you mean " foobar" ?
129
129
| }];;
130
130
@@ -136,7 +136,7 @@ let _ = function (foobar | foobaz) -> ()
136
136
Line 1 , characters 17-34 :
137
137
1 | let _ = function (foobar | foobaz ) -> ()
138
138
^^^^^^^^^^^^^^^^^
139
- Error : Variable " foobar" must occur on both sides of this " |" pattern
139
+ Error : Variable " foobar" must occur on both sides of this " |" pattern
140
140
Hint : Did you mean " foobaz" ?
141
141
| }];;
142
142
@@ -148,23 +148,23 @@ Line 2, characters 13-19:
148
148
2 | let _ = fun {foobaz} -> ()
149
149
^^^^^^
150
150
Error : Unbound record field " foobaz"
151
- Hint : Did you mean " foobar" ?
151
+ Hint : Did you mean " foobar" ?
152
152
| }];;
153
153
let _ = { foobaz = 42 }
154
154
[%% expect {|
155
155
Line 1 , characters 10-16 :
156
156
1 | let _ = { foobaz = 42 }
157
157
^^^^^^
158
158
Error : Unbound record field " foobaz"
159
- Hint : Did you mean " foobar" ?
159
+ Hint : Did you mean " foobar" ?
160
160
| }];;
161
161
let _ = fun x -> x.foobaz
162
162
[%% expect {|
163
163
Line 1 , characters 19-25 :
164
164
1 | let _ = fun x -> x.foobaz
165
165
^^^^^^
166
166
Error : Unbound record field " foobaz"
167
- Hint : Did you mean " foobar" ?
167
+ Hint : Did you mean " foobar" ?
168
168
| }];;
169
169
170
170
type bar = Foobar of int
@@ -175,7 +175,7 @@ Line 2, characters 8-14:
175
175
2 | let _ = Foobaz 42
176
176
^^^^^^
177
177
Error : Unbound constructor " Foobaz"
178
- Hint : Did you mean " Foobar" ?
178
+ Hint : Did you mean " Foobar" ?
179
179
| }];;
180
180
181
181
type baz = K of { foobar : int }
@@ -185,7 +185,7 @@ type baz = K of { foobar : int; }
185
185
Line 2 , characters 12-18 :
186
186
2 | let _ = K { foobaz = 42 }
187
187
^^^^^^
188
- Error : The field " foobaz" is not part of the record argument for the " baz.K" constructor
188
+ Error : The field " foobaz" is not part of the record argument for the " baz.K" constructor
189
189
Hint : Did you mean " foobar" ?
190
190
| }];;
191
191
@@ -198,7 +198,7 @@ Line 3, characters 17-21:
198
198
3 | method other = self#foobaz
199
199
^^^^
200
200
Error : This expression has no method " foobaz"
201
- Hint : Did you mean " foobar" ?
201
+ Hint : Did you mean " foobar" ?
202
202
| }];;
203
203
204
204
@@ -211,7 +211,7 @@ Line 3, characters 18-35:
211
211
3 | method myself = {< foobaz = 42 > }
212
212
^^^^^^^^^^^^^^^^^
213
213
Error : Unbound instance variable " foobaz"
214
- Hint : Did you mean " foobar" ?
214
+ Hint : Did you mean " foobar" ?
215
215
| }];;
216
216
217
217
let closely = ()
@@ -226,5 +226,5 @@ Line 5, characters 9-17:
226
226
5 | let () = M. closer
227
227
^^^^^^^^
228
228
Error : Unbound value " M.closer"
229
- Hint : Did you mean " M.close" ?
229
+ Hint : Did you mean " M.close" ?
230
230
| }]
0 commit comments