-
-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[lang]: fix certain varinfo comparisons (#4164)
for `VarInfo`s which are declared in memory, the `VarInfo` initialization is missing `decl_node`, and therefore different variables with the same type get detected as overlapping in loop iterator modification detection. this commit properly initializes memory `VarInfo`s with the appropriate `decl_node`. --------- Co-authored-by: cyberthirst <[email protected]>
- Loading branch information
1 parent
9b322d6
commit 07ddea6
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters