Skip to content

Commit

Permalink
Merge pull request #14886 from intercom/gj/reuse-argument
Browse files Browse the repository at this point in the history
[BUGFIX beta] reuse positional argument
  • Loading branch information
rwjblue authored Jan 30, 2017
2 parents e15747d + 471f527 commit 96c0bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember-glimmer/lib/helpers/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96c0bb7

Please sign in to comment.