diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-04-09 13:42:22 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-04-09 13:42:22 -0700 |
commit | 80de7a55930bb213b7901148e1e3f9624d1adef5 (patch) | |
tree | 154660855fdb8cdaf4446f6d2f9372740df1cf6c /stdlib/txr-case.txr | |
parent | 310b3d130c19ae862da352e4e2f29ecb21235846 (diff) | |
download | txr-80de7a55930bb213b7901148e1e3f9624d1adef5.tar.gz txr-80de7a55930bb213b7901148e1e3f9624d1adef5.tar.bz2 txr-80de7a55930bb213b7901148e1e3f9624d1adef5.zip |
build: rearrange code to fix circular dependency.
* stdlib/build.tl (sys:list-builder-flets, sys:build-expander,
build, buildn): Move to top of file. This resolves a circular
dependency triggered by the defstruct macro: it autoloads
struct.tl which autoloads other things, some of which depend
on the build macro. If we provide the build macro at the top,
everything is cool. The compiled version of build.tl doesn't
have this problem, because macro-time dependencies don't
affect compiled code. With this change, it's possible to
run the tests/012/compile.tl test case without stdlib
being compiled.
Diffstat (limited to 'stdlib/txr-case.txr')
0 files changed, 0 insertions, 0 deletions