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

Revision 11877, 2.0 kB (checked in by maeder, 5 months ago)

disallowed explicit pseudo type notation following := (assign)

  • 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  a2 a b := a -> Unit
9type  a3 a a := a -> Unit
10type  a4 a a := a -> Unit
11type  a5 a
12type  a6 a
13type  a7 a := a6 a -> Unit
14types
15Binary : Type;
16MyAlias : Type -> Type;
17MyPred : Type -> Type;
18S : Type;
19T : Type;
20a1 : Type -> Type -> Type;
21a2 : Type -> Type -> Type;
22a3 : Type -> Type -> Type;
23a4 : Type -> Type -> Type;
24a5 : Type -> Type;
25a6 : Type -> Type;
26a7 : Type -> Type
27types
28Binary := S * S -> T;
29MyAlias := \ t : Type . t ->? Unit;
30MyPred := \ s : Type . s ->? Unit;
31a1 := \ a : Type . \ b : Type . a -> b -> Unit;
32a2 := \ a : Type . \ b : Type . a -> Unit;
33a3 := \ a : Type . \ a : Type . a -> Unit;
34a4 := \ a : Type . \ a : Type . a -> Unit;
35a7 := \ a : Type . a6 a -> Unit
36var
37s : Type %(var_1)%
38### Hint 2.16,
39no kind found for 'S'
40  expected: {Cpo}
41     found: {Type}
42### Hint 2.16,
43no kind found for 'S'
44  expected: {Cppo}
45     found: {Type}
46### Hint 3.5, is type variable 's'
47*** Error 5.14, unknown type variable 't'
48*** Error 7.9, unknown type variable 'a'
49*** Error 7.11, unknown type variable 'b'
50*** Error 8.10, unknown type variable 'a'
51*** Error 8.14, unknown type variable 'b'
52### Hint 8.6, redeclared type 'a1'
53*** Error 10.9, unknown type variable 'a'
54*** Error 10.11, unknown type variable 'b'
55*** Error 12.10, unknown type variable 'a'
56*** Error 12.10, duplicates at '(12,14)' for 'a'
57*** Error 14.9, unknown type variable 'a'
58*** Error 14.9, duplicates at '(14,11)' for 'a'
59*** Error 16.9, unknown type variable 'a'
60*** Error 18.9, unknown type variable 'a'
61*** Error 18.14-18.22,
62illegal recursive type synonym 'a5 a -> Unit'
63*** Error 20.9, unknown type variable 'a'
64*** Error 22.9, unknown type variable 'a'
65*** Error 24.9, unknown type variable 'a'
66*** Error 22.9-24.22, illegal recursive type synonym 'a7 a -> Unit'
67*** Error 26.6,
68incompatible kind of: a2
69  expected: Type -> Type -> Type
70     found: Type -> Type
Note: See TracBrowser for help on using the browser.