File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -187,12 +187,12 @@ compile-expr-strict := λctx e offset used . (tail(
187
187
e1
188
188
)))
189
189
( (App( (App( (Literal ':) lval )) ltype )) (tail(
190
- (set e1 (compile-expr-strict( ctx lval offset Unused )))
190
+ (set e1 (compile-expr-strict( ctx lval offset Used )))
191
191
(set e1 (expr::set-type( e1 (typecheck-lookup e) )))
192
192
e1
193
193
)))
194
194
( (App( (App( (Variable 'as) lval )) ltype )) (tail(
195
- (set e1 (compile-expr-strict( ctx lval offset Unused )))
195
+ (set e1 (compile-expr-strict( ctx lval offset Used )))
196
196
(set e1 (expr::set-type( e1 (typecheck-lookup e) )))
197
197
e1
198
198
)))
Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ main := λ(: argc U64)(: argv U8[][]).(tail(
15
15
# (let argi 0u64)
16
16
(let input_l (SAtom( 'an-atom_s )))
17
17
(let input_r (SPointer( as 'test_s ?[] )))
18
- (let input (SCons(
19
- (close( input_l ))
20
- (close( input_r ))
21
- )))
18
+ (let close_l (close( input_l )))
19
+ (let close_r (close( input_r )))
20
+ (let input (SCons( close_l close_r )))
22
21
(print input)
23
22
# (while (<( argi argc )) (
24
23
# (if (==( ([]( argv argi )) '--tokenize_s )) (
You can’t perform that action at this time.
0 commit comments