Upload Kmake

This commit is contained in:
Gorochu
2026-05-26 23:36:42 -07:00
parent ba051b2f74
commit 555ec72358
41615 changed files with 13344630 additions and 1 deletions

View File

@ -0,0 +1,51 @@
Checks that restart frame fails for generator or async functions.
Check that an async function cannot be restarted.
Paused at (after evaluation):
(async function asyncFn() {
#debugger;
})();
Pause stack:
asyncFn:2 (canBeRestarted = false)
Restarting function "asyncFn" ...
Failed to restart function "asyncFn":
{
code : -32000
message : Restarting frame failed
}
Check that a generator function cannot be restarted.
Paused at (after evaluation):
yield 10;
#debugger;
yield 20;
Pause stack:
generatorFn:3 (canBeRestarted = false)
Restarting function "generatorFn" ...
Failed to restart function "generatorFn":
{
code : -32000
message : Restarting frame failed
}
Check that a function cannot be restarted when a generator function is on the stack above
Paused at (after evaluation):
function breaker() { #debugger; }
function* genFn() {
Pause stack:
breaker:1 (canBeRestarted = true)
genFn:4 (canBeRestarted = false)
bar:10 (canBeRestarted = false)
Restarting function "bar" ...
Failed to restart function "bar":
{
code : -32000
message : Restarting frame failed
}