Repository navigation
Conversation
…'s statements, as a function body's already are (gate: 28 corpus and 434 runtime programs moved to the hoisted install, gained module-function-declaration-read-before-its-position)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
A module-level function declaration read before its position in the module body was not yet instantiated; function bodies already hoisted theirs. Module bodies now install their function declarations first, like Node.
Verification:
npm run buildpassed,npm run gate -- --writeexit 0 (28 corpus and 434 runtime programs moved to the hoisted install, 0 drift rows on certified programs),node scripts/run-runtime-tests.mjs --only module-function-declaration-read-before-its-position1 ok, prettier clean.Related
Independent of the other three compiler fixes (#7, #8, #10); all four go into compiler release 1.0.38, which node-compat geastack/node-compat#8 (compile hello-nest ahead of time) needs.
Summary by CodeRabbit