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' };