@@ -190,11 +190,11 @@ let std-infer-expr(tctx: Maybe<TypeContext>, term: AST, is-scoped: Bool, used: I
190190 _ => def-i = def-i + 1;
191191 }};
192192 );
193- Glb{key =key, val=val} => (
193+ Glb{key1 =key, val=val} => (
194194 let rough-tt = typeof-term(term);
195195 if rough-tt.is-arrow and not(rough-tt.is-open) and not(rough-tt.is-t(c"TypedMacro",0)) {
196196 let tctx-tctx = tctx.get-or(mk-tctx());
197- tctx-tctx.function-name = key .key;
197+ tctx-tctx.function-name = key1 .key;
198198 tctx = Some(tctx-tctx);
199199 (let inner-tctx, let new-val) = std-infer-expr(tctx, val, is-scoped, Used(), ta);
200200 match new-val {
@@ -206,16 +206,16 @@ let std-infer-expr(tctx: Maybe<TypeContext>, term: AST, is-scoped: Bool, used: I
206206 _ => ();
207207 };
208208 if not(is(val,new-val)) then {
209- let new-term = mk-glb(key ,new-val);
209+ let new-term = mk-glb(key1 ,new-val);
210210 mark-var-to-def(new-term, term);
211211 term = new-term;
212212 };
213213 };
214214 );
215- Var{key =key, token=token} => (
216- (tctx, let vt) = typeof-var(term, tctx, key , hint.is-t(c"MustNotFresh",0) or hint.is-t(c"TailPosition",0));
215+ Var{key2 =key, token=token} => (
216+ (tctx, let vt) = typeof-var(term, tctx, key2 , hint.is-t(c"MustNotFresh",0) or hint.is-t(c"TailPosition",0));
217217 vt = tctx.with-phi(vt, term);
218- mark-var-to-def-todo(tctx, key , ta, term);
218+ mark-var-to-def-todo(tctx, key2 , ta, term);
219219 # TailPosition LocalVariables don't need to be retained because +1/-1 retain/release cancels itself out
220220 if not(hint.is-t(c"TailPosition",0) and vt.is-t(c"LocalVariable",0))
221221 and not(hint.is-t(c"MustNotRetain",0))
@@ -226,13 +226,13 @@ let std-infer-expr(tctx: Maybe<TypeContext>, term: AST, is-scoped: Bool, used: I
226226 tctx = tctx.ascript(term, vt);
227227 };
228228 );
229- Lit{key =key, token=token} => (
229+ Lit{key3 =key, token=token} => (
230230 if hint.is-t(c"Literal",0) {
231231 tctx = tctx.ascript(term,hint);
232232 } else if not(non-zero(typeof-term(term))) {
233- if hint.is-t(c"HashtableEq",2) and hint.is-datatype and key ==c"HashtableEqEOF"
233+ if hint.is-t(c"HashtableEq",2) and hint.is-datatype and key3 ==c"HashtableEqEOF"
234234 then {
235- (tctx, let lit-tt) = tctx.apply-callable(key , t0(c"Nil"), term, hint);
235+ (tctx, let lit-tt) = tctx.apply-callable(key3 , t0(c"Nil"), term, hint);
236236 tctx = tctx.ascript(term, lit-tt);
237237 } else {
238238 tctx = tctx.ascript(term, t2(c"Arrow",t0(c"Any"),t0(c"Any")));
0 commit comments