diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-03 23:08:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-03 23:08:11 -0700 |
commit | 42686f480eda0ddbae7d0b0ded84b6aabde1eb13 (patch) | |
tree | e4833521ea814451e03fa11f767d81810ec47be9 /tests/012/oop-mac.tl | |
parent | c3d5c6ae8f29f8a6452ae500fe037fa9aeea0763 (diff) | |
download | txr-42686f480eda0ddbae7d0b0ded84b6aabde1eb13.tar.gz txr-42686f480eda0ddbae7d0b0ded84b6aabde1eb13.tar.bz2 txr-42686f480eda0ddbae7d0b0ded84b6aabde1eb13.zip |
bug: autoload issue affecting with-compilation-unit
When a (with-compilation-unit ...) form is compiled,
it references the value of a certain special variable
that is private to the compiler. This reference is
correct, but the variable's symbol is not hooked up
to trigger autoload. If the compiler module has not
yet been loaded, and the compiled version of a
with-compilation-unit form is evaluated, it will fail
due to an unbound variable error.
* autoload.c (compiler_set_entries): Add the
sys:*in-compilation-unit* variable name to the autoload
triggers for the compiler module.
Diffstat (limited to 'tests/012/oop-mac.tl')
0 files changed, 0 insertions, 0 deletions