We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5364f9 + 487af3f commit 4bf1a29Copy full SHA for 4bf1a29
packages/ember-glimmer/lib/helpers/component.js
@@ -148,8 +148,10 @@ export class ClosureComponentReference extends CachedReference {
148
149
constructor(args, symbolTable, env) {
150
super();
151
- this.defRef = args.positional.at(0);
152
- this.tag = this.defRef.tag;
+
+ let firstArg = args.positional.at(0);
153
+ this.defRef = firstArg;
154
+ this.tag = firstArg.tag;
155
this.env = env;
156
this.symbolTable = symbolTable;
157
this.args = args;
0 commit comments