Skip to content

Commit 2fea5f2

Browse files
committed
add test for module type decl in signature item
<!-- ps-id: d0989bfd-2d2a-4182-89bb-40edf8006617 -->
1 parent 2e9a5a0 commit 2fea5f2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src_test/ppx_deriving/test_intf.ml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
[%%import: type a = Stuff.a]
2+
3+
module type Example = sig
4+
module type InnerModule = [%import: (module Stuff.S_optional)]
5+
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
[%%import: type a = Stuff.a]
2+
3+
module type Example = sig
4+
module type InnerModule = [%import: (module Stuff.S_optional)]
5+
end

0 commit comments

Comments
 (0)