Debian Codegraph @

test-suite/output/ltac2_abstract.out

raw
1 File "./output/ltac2_abstract.v", line 20, characters 27-28:
2 The command has indeed failed with message:
3 This expression has type int but an expression was expected of type
4 M.t
5 - : M.t = <abstr>
6 File "./output/ltac2_abstract.v", line 28, characters 27-28:
7 The command has indeed failed with message:
8 This expression has type int but an expression was expected of type
9 t
10 - : int = 2
11 Ltac2 foo : t -> t
12 foo := fun x => Int.add x 1
13 Ltac2 three : t
14 three := 3
15 - : t = <abstr>
16 File "./output/ltac2_abstract.v", line 47, characters 18-21:
17 The command has indeed failed with message:
18 Unbound constructor M.A
19 File "./output/ltac2_abstract.v", line 49, characters 40-43:
20 The command has indeed failed with message:
21 Unbound constructor M.A
22 - : M.t = <abstr>
23 - : bool = false
24 Ltac2 M.a : M.t
25 M.a := <abstr>
26 Ltac2 M.is_b : M.t -> bool
27 M.is_b := fun x => match x with
28 <abstr>
29 end
30 Ltac2 M.get_b : int -> M.t -> int
31 M.get_b := fun def x => match x with
32 | <abstr> => x
33 | _ => def
34 end
35 - : int M.t = <abstr>
36 File "./output/ltac2_abstract.v", line 73, characters 20-21:
37 The command has indeed failed with message:
38 p is not a projection
39 File "./output/ltac2_abstract.v", line 75, characters 30-31:
40 The command has indeed failed with message:
41 p is not a projection
42 - : int t = <abstr>
43 - : int = 42
44 File "./output/ltac2_abstract.v", line 81, characters 27-40:
45 The command has indeed failed with message:
46 This expression has type bool but an expression was expected of type
47 int
48 Ltac2 make : 'a -> 'a t
49 make := fun x => <abstr>
50 Ltac2 p : 'a t -> 'a
51 p := fun x => <abstr>
52 Ltac2 set : 'a t -> 'a -> unit
53 set := fun x v => <abstr>
54 File "./output/ltac2_abstract.v", line 91, characters 32-33:
55 The command has indeed failed with message:
56 Open types currently do not support #[abstract].