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)
|
30)
|
||||||
(test 30 int-def-check2))
|
(test 30 int-def-check2))
|
||||||
|
|
||||||
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; Make sure `#%variable-reference' can be compiled and expanded
|
||||||
|
|
||||||
|
(compile '(#%variable-reference))
|
||||||
|
(expand '(#%variable-reference))
|
||||||
|
|
||||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(report-errs)
|
(report-errs)
|
||||||
|
|
|
@ -1335,6 +1335,7 @@ ref_syntax (Scheme_Object *form, Scheme_Comp_Env *env, Scheme_Compile_Info *rec,
|
||||||
Scheme_Object *var, *name, *rest, *dummy, *lex_id = NULL;
|
Scheme_Object *var, *name, *rest, *dummy, *lex_id = NULL;
|
||||||
int l, ok;
|
int l, ok;
|
||||||
|
|
||||||
|
if (rec[drec].comp)
|
||||||
env->prefix->non_phaseless = 1;
|
env->prefix->non_phaseless = 1;
|
||||||
|
|
||||||
form = scheme_stx_taint_disarm(form, NULL);
|
form = scheme_stx_taint_disarm(form, NULL);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user