Closed crumbtoo closed 1 week ago
Thanks, this was due to missing validation in def-variant
. With that extra validation, the above produces:
test.dt:9:22: error: list required for variant members (see macro at 6:9)
test.dt:6:9: error: macro expansion error (see previous) (see macro at 9:1)
which is due to cons
not being unquoted. Changing it to (uq cons)
fixes the problem.
This code causes a mysterious segfault during compilation: