summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2017-03-31 17:35:05 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2017-03-31 17:35:05 -0400
commit680da1afd0b8d2f4b4a6b4ec0ef3bad48d0babde (patch)
tree1afb2917fb6891741d056d2fdeae3fd3fe93ed21 /tests
parenta478380e74c658637c90436c4e78c894f7076f4c (diff)
Fix normalization of signatures that project signatures from other modules with multi-element paths (fixes #72)
Diffstat (limited to 'tests')
-rw-r--r--tests/sigInModule.ur8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/sigInModule.ur b/tests/sigInModule.ur
new file mode 100644
index 00000000..efb7b0fc
--- /dev/null
+++ b/tests/sigInModule.ur
@@ -0,0 +1,8 @@
+structure A = struct
+ signature S = sig
+ val x : int
+ end
+end
+structure B : A.S = struct
+ val x = 42
+end