14:04:04drmeisterAnd it was the first one at the end of with-module that I think was removing ALL of the functions because they were all internal and none were referenced by external functions (there are none at that point) or global variables.
14:06:33drmeisterI added a comment about optimization here: https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/cmp/compile-file.lsp#L295
14:07:05drmeisterI also put in a test to check if the function being referenced by the static CTOR disappears before we need it.
14:07:46drmeisterWe now lookup the RUN-ALL function by name rather than holding on to a reference.
14:08:03drmeisterYesterday we were holding on to a reference and then the function was being removed - that was bad.
14:08:14drmeisterAnd that was where we got the <bad-ref> from.
14:09:30drmeisterSince I had optimization turned off - non of this function removal was happening. You had it turned on and because I'd moved the make-boot-function-global-variable call OUTSIDE of the (with-module ...) macro --> KABOOM
15:12:15kpoeckBeach: Loop test 11.8 is already deactivated: https://gitlab.common-lisp.net/ansi-test/ansi-test/blob/master/iteration/loop11.lsp#L52