diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-08-04 16:44:05 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-08-04 16:44:05 -0400 |
commit | 7e42ca73d84c1938c881aa103a9c5bf40a9f1bfb (patch) | |
tree | 78a65f7f1e851be7156074a76cc7d95a50a49e6b /tests/openRedef.ur | |
parent | 4342dc1f0558093f01901a7641e6604f9dd7855e (diff) |
Fix opening of shadowing, principal-signatured modules that open other modules
Diffstat (limited to 'tests/openRedef.ur')
-rw-r--r-- | tests/openRedef.ur | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/openRedef.ur b/tests/openRedef.ur new file mode 100644 index 00000000..2d8161c3 --- /dev/null +++ b/tests/openRedef.ur @@ -0,0 +1,16 @@ +structure M = struct + con num = int + val zero = 0 +end + +structure N = struct + open M + con num = num * num + val zero = zero + 1 +end + +structure O = struct + open N + + val one : num = (zero + 1, zero) +end |