Mercurial > urweb
annotate tests/include.ur @ 2092:d4eb9b6729f8
Another try at a proper fix for constraint matching in subsignature checking
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 23 Dec 2014 11:23:27 -0500 |
parents | 71bafe66dbe1 |
children |
rev | line source |
---|---|
adamc@58 | 1 signature S = sig |
adamc@58 | 2 type t |
adamc@58 | 3 val x : t |
adamc@58 | 4 end |
adamc@58 | 5 |
adamc@58 | 6 signature S' = sig |
adamc@58 | 7 include S |
adamc@58 | 8 val y : t |
adamc@58 | 9 end |
adamc@58 | 10 |
adamc@58 | 11 signature S'' = sig |
adamc@58 | 12 type u |
adamc@58 | 13 include S' where type t = int |
adamc@58 | 14 type v |
adamc@58 | 15 end |