You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compiler emits invalid IL for await in new Array arguments #3578
Node v22.23.2 and interpreted SharpTS print 1. Compiling with --no-tsconfig --noLib --compile repro.js --verify -o repro.dll fails verification in MoveNextAsync. The compiler build predating the #3552 follow-up changes reports ReturnEmpty, TryNonEmptyStack, and StackUnderflow. PR #3577 reports TryNonEmptyStack and StackOverflow for the same source.
The built-in Array constructor lowering leaves the argument array and index on the IL stack while evaluating the suspending argument. This predates the yield-operand exception guard for #3558. It also differs from #3565, whose saved assembly verifies and loses a synchronous guest exception during execution.
Activity