Skip to content

Commit 6577e2f

Browse files
committed
add tests
1 parent a76c359 commit 6577e2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/corpus/type_declarations.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ Generic
349349

350350
type t<'a, 'b> = (array<'a>, array<'b>)
351351
type t = result<(), string>
352+
type t<'a> = generic<'a> as 's
352353

353354
---
354355

@@ -365,7 +366,15 @@ type t = result<(), string>
365366
(type_identifier)
366367
(type_arguments
367368
(unit)
368-
(type_identifier)))))
369+
(type_identifier))))
370+
371+
(type_declaration
372+
(type_identifier)
373+
(type_parameters (type_identifier))
374+
(generic_type
375+
(type_identifier)
376+
(type_arguments (type_identifier))
377+
(as_aliasing_type (type_identifier)))))
369378

370379
===========================================
371380
Recursive

0 commit comments

Comments
 (0)