fix checking for `syntax-local-lift-require'
Closes PR 12894
This commit is contained in:
parent
a022e78ab1
commit
f747c086d8
|
@ -736,4 +736,8 @@
|
|||
|
||||
;; ----------------------------------------
|
||||
|
||||
(err/rt-test (syntax-local-lift-require 'abc #'def))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
(report-errs)
|
||||
|
|
|
@ -2573,11 +2573,12 @@ static Scheme_Object *local_lift_require(int argc, Scheme_Object *argv[])
|
|||
|
||||
env = scheme_current_thread->current_local_env;
|
||||
local_mark = scheme_current_thread->current_local_mark;
|
||||
phase = env->genv->phase;
|
||||
|
||||
if (!env)
|
||||
not_currently_transforming("syntax-local-lift-require");
|
||||
|
||||
phase = env->genv->phase;
|
||||
|
||||
return scheme_local_lift_require(argv[0], argv[1], phase, local_mark, env);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user