@@ -159,10 +159,13 @@ include Belt.Map.Make()
159
159
Foo .Some (Bar )
160
160
// <- source.res entity.name.namespace
161
161
// ^ source.res
162
+ // ^^^ variable.function variable.other
162
163
// ^ source.res
163
164
Foo .Some (Bar ())
164
165
// ^ source.res
166
+ // ^^^ variable.function variable.other
165
167
Foo .make (Bar ())
168
+ // ^^^ variable.function variable.other
166
169
module Bla = Belt .Map .Make (Bar ({type t let a :b = "cc" }))
167
170
// ^ source.res entity.name.namespace
168
171
// ^ keyword.operator.assignment
@@ -183,13 +186,13 @@ module SetOfIntPairs = MakeSet((IntPair), Bar);
183
186
// ^ source.res entity.name.namespace
184
187
module SetOfIntPairs = MakeSet (IntPair ({type t = Bar }))
185
188
// ^ source.res entity.name.namespace
186
- // ^^^ entity.name.namespace
189
+ // ^^^ variable.function variable.other
187
190
module Foo = (Bar : Baz ) => (Bar : Baz ) => {let a = Bar };
188
191
// ^ source.res entity.name.namespace
189
192
// ^ source.res entity.name.namespace
190
193
// ^ source.res entity.name.namespace
191
194
// ^ source.res entity.name.namespace
192
- // ^ source.res
195
+ // ^^^ variable.function variable.other
193
196
module Foo = (Bar : Baz ) => (Bar : Baz ) => List ;
194
197
// ^ source.res entity.name.namespace
195
198
@@ -220,7 +223,7 @@ module School = {
220
223
// ^ source.res entity.name.namespace
221
224
{
222
225
type a = Bar
223
- // ^ source.res
226
+ // ^^^ variable.function variable.other
224
227
let a = ["1" ]
225
228
}
226
229
) => {
@@ -243,24 +246,25 @@ module School = {
243
246
module Nested = (Foo : Bar , {type a = Bar let a = 1 } ) => {
244
247
// ^ source.res entity.name.namespace
245
248
// ^ source.res entity.name.namespace
246
- // ^ source.res
249
+ // ^^^ variable.function variable.other
247
250
module NestMore = Bla
248
251
module NestMore : Foo = Bla
249
252
module NestMore : {type t = Bar } = Bla
250
253
// ^ source.res punctuation.section.braces.begin
251
- // ^ source.res
254
+ // ^^^ variable.function variable.other
252
255
// ^ source.res punctuation.section.braces.end
253
256
// ^ source.res entity.name.namespace
254
257
module NestMore : {type t = Bar } = {
255
- // ^ source.res
258
+ // ^^^ variable.function variable.other
256
259
type t = Variant
257
- // ^ source.res
260
+ // ^^^^^^^ variable.function variable.other
258
261
let a = ["hello" ]
259
262
}
260
263
module NestMore = (Foo : {type t = Variant }) => Bla
264
+ // ^^^^^^^ variable.function variable.other
261
265
module NestMore : Bla = (Foo : {}) => Bla
262
266
module NestMore : {type t = Bar let a : b = "cc" module Foo = {}} = (Foo : {}) => Bla
263
- // ^ source.res
267
+ // ^^^ variable.function variable.other
264
268
// ^ source.res entity.name.namespace
265
269
module type NestMore = {}
266
270
module NestMore = () => Bla .Qux
@@ -272,7 +276,7 @@ let p: School.School2.profession = School.getProfession(School.Foo)
272
276
// ^ source.res entity.name.namespace
273
277
// ^ source.res entity.name.namespace
274
278
// ^ source.res entity.name.namespace
275
- // ^ source.res
279
+ // ^^^ variable.function variable.other
276
280
277
281
let getAudience = (~excited ) => excited ? "world!" : "world"
278
282
0 commit comments