File tree Expand file tree Collapse file tree
libs/parsing/index/src/lib/post-process Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { IDLIndex } from '../idl-index.class';
1818import { PopulateAndValidateReturnType } from './populate-type/return/populate-and-validate-return-type' ;
1919import { RECURSE_INTO } from './post-process-iterator.interface' ;
2020import { POPULATE_TYPE_HANDLER } from './tree-handlers/populate-type-handler' ;
21- import { SetVariables } from './tree-handlers/set-variables' ;
21+ import { SetVariablesForIterators } from './tree-handlers/set-variables-for-iterators ' ;
2222import { VALIDATE_TYPE_HANDLER } from './tree-handlers/validate-type-handler' ;
2323import { ValidateVariableUsage } from './tree-handlers/validate-variable-usage' ;
2424
@@ -61,7 +61,11 @@ export function PostProcessIterator(
6161 */
6262 if ( topToken . name in RECURSE_INTO ) {
6363 // update variables that we are tracking
64- SetVariables ( topToken . scopeTokens [ 0 ] || topToken , parsed , variables ) ;
64+ SetVariablesForIterators (
65+ topToken . scopeTokens [ 0 ] || topToken ,
66+ parsed ,
67+ variables
68+ ) ;
6569
6670 /**
6771 * Callbacks for populating types
You can’t perform that action at this time.
0 commit comments