fix phase-collapsing-module inference
This bug was causing a crash in some DrRacket tests.
This commit is contained in:
parent
e15569e006
commit
a04bfa5ba2
|
@ -1771,6 +1771,12 @@
|
|||
30)
|
||||
(test 30 int-def-check2))
|
||||
|
||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Make sure `#%variable-reference' can be compiled and expanded
|
||||
|
||||
(compile '(#%variable-reference))
|
||||
(expand '(#%variable-reference))
|
||||
|
||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(report-errs)
|
||||
|
|
|
@ -1335,7 +1335,8 @@ ref_syntax (Scheme_Object *form, Scheme_Comp_Env *env, Scheme_Compile_Info *rec,
|
|||
Scheme_Object *var, *name, *rest, *dummy, *lex_id = NULL;
|
||||
int l, ok;
|
||||
|
||||
env->prefix->non_phaseless = 1;
|
||||
if (rec[drec].comp)
|
||||
env->prefix->non_phaseless = 1;
|
||||
|
||||
form = scheme_stx_taint_disarm(form, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user