Skip to content

Commit bde2a34

Browse files
committed
add tests
1 parent 30350ad commit bde2a34

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

test/corpus/modules.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,3 +482,26 @@ exception Invalid = Errors.Invalid
482482
(module_identifier_path
483483
(module_identifier))
484484
(variant_identifier))))
485+
486+
=========================================
487+
Module Constraints
488+
=========================================
489+
490+
module(M: T with type t = a and type t = b)
491+
492+
---
493+
494+
(source_file
495+
(expression_statement
496+
(module_pack
497+
(module_type_constraint
498+
(module_identifier_path
499+
(module_identifier))
500+
(module_identifier_path
501+
(module_identifier))
502+
(constrain_type
503+
(type_identifier)
504+
(type_identifier))
505+
(constrain_type
506+
(type_identifier)
507+
(type_identifier))))))

0 commit comments

Comments
 (0)