@@ -639,9 +639,9 @@ function extractSymbolsWalk(tree: TreeSitterTree): ExtractorOutput {
639639 // Phase 8.3c: Extract call-site argument bindings for parameter-flow pts analysis
640640 extractParamBindingsWalk ( tree . rootNode , ctx . paramBindings ! ) ;
641641 // Phase 8.3f: Extract object-destructuring rest-parameter bindings from function definitions
642- const objectRestParamBindingsWalk : ObjectRestParamBinding [ ] = [ ] ;
643- extractObjectRestParamBindingsWalk ( tree . rootNode , objectRestParamBindingsWalk ) ;
644- if ( objectRestParamBindingsWalk . length ) ctx . objectRestParamBindings = objectRestParamBindingsWalk ;
642+ const objectRestParamBindings : ObjectRestParamBinding [ ] = [ ] ;
643+ extractObjectRestParamBindingsWalk ( tree . rootNode , objectRestParamBindings ) ;
644+ if ( objectRestParamBindings . length ) ctx . objectRestParamBindings = objectRestParamBindings ;
645645 // Phase 8.5: collect all `new X()` constructor names for RTA instantiation tracking
646646 const newExpressions : string [ ] = [ ] ;
647647 extractNewExpressionsWalk ( tree . rootNode , newExpressions ) ;
@@ -1604,7 +1604,7 @@ function handleVarDeclaratorTypeMap(
16041604 // seeds `obj.e4 → e4`, `obj.handler → handler`. Only shorthand properties and
16051605 // identifier-valued pairs are tracked; literal-valued properties (e.g. `{ x: 42 }`) are skipped.
16061606 // This enables `eerest.e4()` resolution when `eerest` is a rest binding for an argument `obj`.
1607- if ( valueN ? .type === 'object' ) {
1607+ if ( valueN . type === 'object' ) {
16081608 seedProtoProperties ( nameN . text , valueN , typeMap ) ;
16091609 }
16101610}
0 commit comments