root/trunk/HasCASL/test/Alias.hascasl.output @ 10502

Revision 10502, 2.1 kB (checked in by maeder, 15 months ago)

added Cppo class and instances (causing many more hints)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1types S, T
2type  Binary := S * S -> T
3var   s : Type
4type  MyPred s := s ->? Unit
5type  MyAlias t := t ->? Unit
6type  a1 a b := a -> b -> Unit
7type  a1 a b := a -> b -> Unit
8type  a1 a b := a -> b -> Unit
9type  a2 a b := a -> Unit
10type  a3 a a := a -> Unit
11type  a4 a a := a -> Unit
12type  a5 a
13type  a6 a
14type  a7 a := a6 a -> Unit
15types
16Binary : Type;
17MyAlias : Type -> Type;
18MyPred : Type -> Type;
19S : Type;
20T : Type;
21a1 : Type -> Type -> Type;
22a2 : Type -> Type -> Type;
23a3 : Type -> Type -> Type;
24a4 : Type -> Type -> Type;
25a5 : Type -> Type;
26a6 : Type -> Type;
27a7 : Type -> Type
28types
29Binary := S * S -> T;
30MyAlias := \ t : Type . t ->? Unit;
31MyPred := \ s : Type . s ->? Unit;
32a1 := \ a : Type . \ b : Type . a -> b -> Unit;
33a2 := \ a : Type . \ b : Type . a -> Unit;
34a3 := \ a : Type . \ a : Type . a -> Unit;
35a4 := \ a : Type . \ a : Type . a -> Unit;
36a7 := \ a : Type . a6 a -> Unit
37var
38s : Type %(var_1)%
39### Hint 2.16,
40no kind found for 'S'
41  expected: {Cpo}
42     found: {Type}
43### Hint 2.16,
44no kind found for 'S'
45  expected: {Cppo}
46     found: {Type}
47### Hint 3.5, is type variable 's'
48*** Error 5.14, unknown type variable 't'
49*** Error 7.9, unknown type variable 'a'
50*** Error 7.11, unknown type variable 'b'
51*** Error 8.15, unknown type variable 'a'
52*** Error 8.19, unknown type variable 'b'
53### Hint 8.6, redeclared type 'a1'
54*** Error 9.9, unknown type variable 'a'
55*** Error 9.16, unknown type variable 'b'
56### Hint 9.6, redeclared type 'a1'
57*** Error 11.15, unknown type variable 'a'
58*** Error 11.19, unknown type variable 'b'
59*** Error 13.15, unknown type variable 'a'
60*** Error 13.15, duplicates at '(13,19)' for 'a'
61*** Error 15.9, unknown type variable 'a'
62*** Error 15.9, duplicates at '(15,11)' for 'a'
63*** Error 17.9, unknown type variable 'a'
64*** Error 19.9, unknown type variable 'a'
65*** Error 19.14-19.22,
66illegal recursive type synonym 'a5 a -> Unit'
67*** Error 21.9, unknown type variable 'a'
68*** Error 23.9, unknown type variable 'a'
69*** Error 25.9, unknown type variable 'a'
70*** Error 23.9-25.22, illegal recursive type synonym 'a7 a -> Unit'
71*** Error 27.6,
72incompatible kind of: a2
73  expected: Type -> Type -> Type
74     found: Type -> Type
Note: See TracBrowser for help on using the browser.