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.output

    r9230 r11877  
     1var   a : +Type 
    12type  p a := Pred (Pred a) 
    23      %% should be correct 
     
    910m := \ b : -Type . b; 
    1011p := \ a : +Type . Pred (Pred a) 
    11 ### Hint 2.32, wrong covariance of 'a' 
    12 ### Hint 2.32, no kind found for 'a' 
    13 *** Error 2.27-2.32, no kind found for 'Pred a' 
    14 *** Error 4.6, 
     12var 
     13a : +Type %(var_1)% 
     14### Hint 1.5, is type variable 'a' 
     15### Hint 3.18, wrong covariance of 'a' 
     16### Hint 3.18, no kind found for 'a' 
     17*** Error 3.13-3.18, no kind found for 'Pred a' 
     18*** Error 5.6, 
    1519wrong type of 'm' 
    1620  expected: \ b : -Type . b