Show
Ignore:
Timestamp:
03.07.2009 18:38:45 (5 months ago)
Author:
maeder
Message:

disallowed explicit pseudo type notation following := (assign)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/HasCASL/test/ContraVariance.hascasl

    r8098 r11877  
    1 type p := \ (a : +Type) . Pred (Pred a)  %% should be correct 
    2 type p := \ (a : +Type) . Pred a         %% should be wrong 
    3 type m := \ (b : -Type) . b              %%  
    4 type m := \ (b : +Type) . b              %% both contradict 
     1var a : +Type 
     2type p a := Pred (Pred a)  %% should be correct 
     3type p a := Pred a         %% should be wrong 
     4type m (b : -Type) := b              %% 
     5type m (b : +Type) := b              %% both contradict