Skip to content

Commit

Permalink
Python: Make IterableSequenceNode LocalSourceNode
Browse files Browse the repository at this point in the history
We do this to remove the inconsistencies, and to be ready for a future
where type-tracking support content tracker of depth > 1.

It works because targets of loadSteps needs to be LocalSourceNodes

predicate loadStep(Node nodeFrom, LocalSourceNode nodeTo, Content content) {
  • Loading branch information
RasmusWL committed Mar 14, 2024
1 parent 6ffaad1 commit 7a3ee0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class LocalSourceNode extends Node {
this instanceof ScopeEntryDefinitionNode
or
this instanceof ParameterNode
or
this instanceof IterableSequenceNode
}

/** Holds if this `LocalSourceNode` can flow to `nodeTo` in one or more local flow steps. */
Expand Down

This file was deleted.

0 comments on commit 7a3ee0f

Please sign in to comment.