Skip to content

Commit 5d8a421

Browse files
NullVoxPopuliclaude
andcommitted
style: fix prettier formatting in component opcodes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent df2068a commit 5d8a421

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

packages/@glimmer/runtime/lib/compiled/opcodes/component.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,7 @@ APPEND_OPCODES.add(VM_PUSH_COMPONENT_DEFINITION_OP, (vm, { op1: handle }) => {
155155
APPEND_OPCODES.add(VM_RESOLVE_DYNAMIC_COMPONENT_OP, (vm, { op1: _isStrict }) => {
156156
let stack = vm.stack;
157157
let ref = check(stack.pop(), CheckReference);
158-
let component = check(
159-
valueForRef(ref),
160-
CheckOr(CheckString, CheckCurriedComponentDefinition)
161-
);
158+
let component = check(valueForRef(ref), CheckOr(CheckString, CheckCurriedComponentDefinition));
162159
let constants = vm.constants;
163160
let owner = vm.getOwner();
164161
let isStrict = constants.getValue<boolean>(_isStrict);
@@ -225,7 +222,13 @@ APPEND_OPCODES.add(VM_RESOLVE_CURRIED_COMPONENT_OP, (vm) => {
225222
}
226223
}
227224

228-
if (DEBUG && definition && !isCurriedValue(definition) && !definition.resolvedName && !definition.debugName) {
225+
if (
226+
DEBUG &&
227+
definition &&
228+
!isCurriedValue(definition) &&
229+
!definition.resolvedName &&
230+
!definition.debugName
231+
) {
229232
let debugLabel = ref.debugLabel;
230233
if (debugLabel) {
231234
definition.debugName = debugLabel;

0 commit comments

Comments
 (0)