diff tests/wildify.ur @ 1264:79b2bcac6200

Fix bug in module path generation with module roots; push wildification through substructures
author Adam Chlipala <adamc@hcoop.net>
date Thu, 27 May 2010 10:56:52 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/wildify.ur	Thu May 27 10:56:52 2010 -0400
@@ -0,0 +1,25 @@
+signature S = sig
+    type t
+    val x : t
+end
+
+signature T = sig
+    structure M : S
+
+    type u
+    val y : u
+
+    structure N : S
+end
+
+structure M : T = struct
+    structure M = struct
+        val x = True
+    end
+
+    val y = 0
+
+    structure N = struct
+        val x = "hi"
+    end
+end