mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 01:13:39 +00:00
fix(javascript): trace boundary results to assigned bindings (#7912)
This commit is contained in:
1 parent
2129c17925
commit
794907fa3d
5 files changed
+166
-1
No files matched your search
@@ -57,7 +57,7 @@ export const assignedSemanticResultBindings = (
|
||||
if (t.isVariableDeclarator(owner)) {
|
||||
pattern = owner.id;
|
||||
source = owner.init ?? null;
|
||||
} else if (t.isAssignmentExpression(owner)) {
|
||||
} else if (t.isAssignmentExpression(owner, { operator: "=" })) {
|
||||
pattern = owner.left;
|
||||
source = owner.right;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user