comparison tests/openRedef.ur @ 1527:cccf8bf64b30

Fix opening of shadowing, principal-signatured modules that open other modules
author Adam Chlipala <adam@chlipala.net>
date Thu, 04 Aug 2011 16:44:05 -0400
parents
children
comparison
equal deleted inserted replaced
1526:b5d78407886d 1527:cccf8bf64b30
1 structure M = struct
2 con num = int
3 val zero = 0
4 end
5
6 structure N = struct
7 open M
8 con num = num * num
9 val zero = zero + 1
10 end
11
12 structure O = struct
13 open N
14
15 val one : num = (zero + 1, zero)
16 end