Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 3acad8d

Browse files
committed
wip: save
1 parent 90f7543 commit 3acad8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compiler-vapor/src/generators/expression.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ export function genExpression(
9696

9797
if (i === ids.length - 1 && end < content.length) {
9898
const rest = content.slice(end)
99-
// merge member expression into the last identifier's fragment
10099
const last = frag[frag.length - 1]
101-
if (hasMemberExpression && isArray(last) && last[3]) {
100+
if (hasMemberExpression && isArray(last)) {
101+
// merge rest content into the last identifier's generated name
102102
last[0] += rest
103103
} else {
104104
push([rest, NewlineType.Unknown])

0 commit comments

Comments
 (0)