We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30350ad commit bde2a34Copy full SHA for bde2a34
test/corpus/modules.txt
@@ -482,3 +482,26 @@ exception Invalid = Errors.Invalid
482
(module_identifier_path
483
(module_identifier))
484
(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
501
502
+ (constrain_type
503
+ (type_identifier)
504
+ (type_identifier))
505
506
507
+ (type_identifier))))))
0 commit comments