File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ module.exports = grammar({
369369 $ . polyvar_identifier ,
370370 optional ( $ . polyvar_parameters ) ,
371371 ) ,
372- $ . _type_identifier
372+ $ . _inline_type
373373 )
374374 ) ,
375375
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ type t = [>
220220
221221
222222type foo<'a> = [> #Blue | #DeepBlue | #LightBlue ] as 'a
223+ type t<'w> = [M.t<'w>]
223224
224225---
225226
@@ -243,7 +244,16 @@ type foo<'a> = [> #Blue | #DeepBlue | #LightBlue ] as 'a
243244 (polyvar_declaration (polyvar_identifier))
244245 (polyvar_declaration (polyvar_identifier))
245246 (polyvar_declaration (polyvar_identifier))
246- (as_aliasing_type (type_identifier)))))
247+ (as_aliasing_type (type_identifier))))
248+
249+ (type_declaration
250+ (type_identifier)
251+ (type_parameters (type_identifier))
252+ (polyvar_type
253+ (polyvar_declaration
254+ (generic_type
255+ (type_identifier_path (module_identifier) (type_identifier))
256+ (type_arguments (type_identifier)))))))
247257
248258===========================================
249259Function
You can’t perform that action at this time.
0 commit comments