From 7b62efcb7ffa399e1e71ffeb8080fb2fbb7d7712 Mon Sep 17 00:00:00 2001 From: Thomas Weber Date: Sun, 23 Aug 2020 11:15:14 -0500 Subject: [PATCH] ast: stop this script cannot yield anymore --- src/compiler/astgen.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/compiler/astgen.js b/src/compiler/astgen.js index 3cd05f55..269e1665 100644 --- a/src/compiler/astgen.js +++ b/src/compiler/astgen.js @@ -716,9 +716,6 @@ class ScriptTreeGenerator { kind: 'control.stopOthers' }; } else if (level === 'this script') { - if (!this.isProcedure) { - this.yields = true; - } return { kind: 'control.stopScript' };