(ends_def)
| 16655 | this.environment_stack = new torch._C.Environment(this.method, this.resolver, b, this.environment_stack); |
| 16656 | } |
| 16657 | popFrame(ends_def) { |
| 16658 | const old_frame = this.environment_stack; |
| 16659 | this.environment_stack = this.environment_stack.next; |
| 16660 | if (ends_def) { |
| 16661 | this._def_stack.pop(); |
| 16662 | } |
| 16663 | return old_frame; |
| 16664 | } |
| 16665 | emitDef(def, self, block) { |
| 16666 | const schema = this._typeParser.parseSchemaFromDef(def, self !== null); |
| 16667 | if (schema.returns.length === 1) { |
no test coverage detected