summaryrefslogtreecommitdiffstats
path: root/tests/012/oop-mac.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-06-03 23:08:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-06-03 23:08:11 -0700
commit42686f480eda0ddbae7d0b0ded84b6aabde1eb13 (patch)
treee4833521ea814451e03fa11f767d81810ec47be9 /tests/012/oop-mac.tl
parentc3d5c6ae8f29f8a6452ae500fe037fa9aeea0763 (diff)
downloadtxr-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