root/trunk/HasCASL/test/ContraVariance.hascasl
@
11877
| Revision 11877, 204 bytes (checked in by maeder, 5 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | var a : +Type |
| 2 | type p a := Pred (Pred a) %% should be correct |
| 3 | type p a := Pred a %% should be wrong |
| 4 | type m (b : -Type) := b %% |
| 5 | type m (b : +Type) := b %% both contradict |
Note: See TracBrowser
for help on using the browser.