From 471f527ad52a78ec70b2de7755084811309fc3e4 Mon Sep 17 00:00:00 2001 From: Gavin Joyce Date: Mon, 30 Jan 2017 12:42:56 +0000 Subject: [PATCH] [BUGFIX beta] reuse positional argument --- packages/ember-glimmer/lib/helpers/component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-glimmer/lib/helpers/component.js b/packages/ember-glimmer/lib/helpers/component.js index 314b55f754c..d4648d1e458 100644 --- a/packages/ember-glimmer/lib/helpers/component.js +++ b/packages/ember-glimmer/lib/helpers/component.js @@ -149,8 +149,8 @@ export class ClosureComponentReference extends CachedReference { constructor(args, symbolTable, env) { super(); this.defRef = args.positional.at(0); + this.tag = this.defRef.tag; this.env = env; - this.tag = args.positional.at(0).tag; this.symbolTable = symbolTable; this.args = args; this.lastDefinition = undefined;