-
Notifications
You must be signed in to change notification settings - Fork 9
/
errors.expected
214 lines (171 loc) · 4.63 KB
/
errors.expected
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
→ error[E0401]
■ user-supplied term
1 | a
^ term synthesized type A but is being checked against type Type
→ error[E0502]
■ user-supplied term
1 | refl f a
^ not enough arguments for a higher-dimensional function application
→ error[E0502]
■ user-supplied term
1 | refl f a a
^ not enough arguments for a higher-dimensional function application
→ error[E0503]
■ user-supplied term
1 | Id A a
^ not enough arguments to instantiate a higher-dimensional type
→ error[E0501]
■ user-supplied term
1 | x ↦ x
^ not enough non-cube variables for higher-dimensional abstraction: need 2 more
→ error[E0501]
■ user-supplied term
1 | x y ↦ x
^ not enough non-cube variables for higher-dimensional abstraction: need 1 more
→ error[E0700]
■ user-supplied term
1 | x0 x1 x2 x3 ↦ refl f x0 x1 x2
^ checking abstraction against non-function type refl A (f x0) (f x1)
→ error[E0400]
■ user-supplied term
1 | refl (x ↦ x)
^ non-synthesizing term in synthesizing position (argument of degeneracy)
→ error[E0600]
■ user-supplied term
1 | refl
^ missing argument for degeneracy refl
→ error[E0601]
■ user-supplied term
1 | sym f
^ argument of degeneracy 'sym' must have dimension at least ee
→ error[E0601]
■ user-supplied term
1 | sym a2
^ argument of degeneracy 'sym' must have dimension at least ee
→ error[E0300]
■ user-supplied term
1 | g
^ unbound variable: g
→ error[E0401]
■ user-supplied term
1 | a
^ term synthesized type A but is being checked against type refl A
→ error[E0401]
■ user-supplied term
1 | a
^ term synthesized type
A
but is being checked against type
A⁽ᵉᵉ⁾ a a (refl a) a a (refl a)
→ error[E0200]
■ user-supplied term
1 | x y {` unterminated block comment‹EOF›
^ parse error
→ error[E0200]
■ user-supplied term
1 | f (x‹EOF›
^ parse error
→ error[E0200]
■ user-supplied term
1 | .fst x
^ parse error
→ error[E0203]
■ user-supplied term
1 | x .fs.t y
^ invalid field name: .fs.t
→ error[E0204]
■ user-supplied term
1 | f (con.str. x)
^ invalid constructor name: con.str.
→ error[E0300]
■ user-supplied term
1 | x |-> f 0.1.2 x
^ unbound variable: 0.1.2
→ error[E0202]
■ user-supplied term
1 | let x.y ≔ z in w
^ invalid local variable name: x.y
→ error[E0202]
■ user-supplied term
1 | x.y ↦ z
^ invalid local variable name: x.y
→ error[E0202]
■ user-supplied term
1 | a x.y b ↦ z
^ invalid local variable name: x.y
→ error[E0200]
■ user-supplied term
1 | ↦ x
^ parse error
→ error[E0200]
■ user-supplied term
1 | (f x) y ↦ z
^ parse error
→ error[E0100]
■ user-supplied term
1 | _
^ unification arguments not yet implemented
→ error[E0904]
■ user-supplied term
1 | a ↦ ( fst ≔ a, fst ≔ a )
^ record field 'fst' appears more than once in tuple
→ error[E0905]
■ user-supplied term
1 | ( (x) ≔ a )
^ invalid field in tuple
→ error[E0400]
○ non-synthesizing term in synthesizing position (top-level unsynth)
→ error[E0400]
○ non-synthesizing term in synthesizing position (top-level unsynth)
→ error[E0200]
■ user-supplied term
1 | [ | | .head |-> 0 | .tail |-> f ]
^ parse error
→ error[E0902]
■ user-supplied term
1 | ( fst ≔ a )
^ record field 'snd' missing in tuple
→ error[E0900]
■ user-supplied term
1 | ( fst ≔ a )
^ checking tuple against non-record type A
→ error[E0900]
■ user-supplied term
1 | ( fst ≔ a )
^ checking tuple against non-record type ℕ
→ error[E0800]
■ user-supplied term
1 | s .third
^ record type Σ has no field named third
→ error[E1000]
■ user-supplied term
1 | zero.
^ non-datatype Σ A B has no constructor named zero
→ error[E1000]
■ user-supplied term
1 | two.
^ datatype ℕ has no constructor named two
→ error[E1001]
■ user-supplied term
1 | zero. a
^ too many arguments to constructor zero (1 extra)
→ error[E1001]
■ user-supplied term
1 | suc.
^ not enough arguments to constructor suc (need 1 more)
→ error[E0101]
■ user-supplied term
1 | 4.2
^ unsupported numeral: 21/5
→ error[E0901]
■ user-supplied term
1 | (ungel ≔ r2)
^ can't check a tuple against a record Gel with a nonidentity degeneracy applied
→ error[E0800]
■ user-supplied term
1 | gg' .ungel
^ record type with a nonidentity degeneracy applied is no longer a record, hence has no field named ungel
→ error[E0506]
■ user-supplied term
1 | x ↦ x.0
^ invalid face: variable of dimension 0 has no face '0'