Skip to content

Commit

Permalink
add test for module type decl in signature item
Browse files Browse the repository at this point in the history
<!-- ps-id: d0989bfd-2d2a-4182-89bb-40edf8006617 -->
  • Loading branch information
tatchi committed Feb 20, 2023
1 parent 693457c commit 6506987
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src_test/ppx_deriving/test_intf.ml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
[%%import: type a = Stuff.a]

module type Example = sig
module type InnerModule = [%import: (module Stuff.S_optional)]
end
4 changes: 4 additions & 0 deletions src_test/ppx_deriving/test_intf.mli
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
[%%import: type a = Stuff.a]

module type Example = sig
module type InnerModule = [%import: (module Stuff.S_optional)]
end

0 comments on commit 6506987

Please sign in to comment.