mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 02:45:58 +00:00
fix(javascript): retain uncertainty for conditionally skipped writes
Own skipped-write interpretation at definition collection, including conditional branches, loop iterations and optional-chain arguments. Remove the narrower initializer-only representation. Fixes #2562
This commit is contained in:
1 parent
36c91428fc
commit
410537667e
7 files changed
+172
-33
No files matched your search
@@ -155,7 +155,7 @@ const callableIdsForBinding = (
|
||||
if (
|
||||
initializer === undefined ||
|
||||
initializer.projection.length > 0 ||
|
||||
state.conditionalInitializers.has(initializer.node)
|
||||
state.conditionallySkippedExpressions.has(initializer.node)
|
||||
)
|
||||
return [];
|
||||
return callableIdsForNode(
|
||||
|
||||
Reference in new issue
Block a user