The problem in pass 4 of ast-passes.js is indeed caused by the interference with the other declaration of "accum". I renamed the second accum to accum2 and I got further in the bootstrap:
Parsing Tachyon source: "runtime/rtinit.js" =========pass2 =========pass3 =========pass4 =========pass5 Generating IR for: "object layout source" Generating IR for: "FFI wrapper source" Generating IR for: "runtime/utility.js" Generating IR for: "runtime/primitives.js" *** RUN-TIME ERROR *** error constructor not found for: "TypeError"
Now... why is the constructor for TypeError not found!
Marc