Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parameter index bug during function parsing and generalize test #46

Merged
merged 9 commits into from
Jun 12, 2023

Conversation

khatchad
Copy link
Collaborator

@khatchad khatchad commented Jun 6, 2023

  1. The source positions are incorrect when there are multiple explicit parameters; the second one gets the same position as the first. For example, we would get A.py [4:8] -> [4:9] twice for two different parameters.
  2. Make the TF2 tensor analysis tests more general to allow more flexibility in input test file structure.

The source positions are incorrect when there are multiple explicit
paramters; the second one gets the same position as the first. For
example, we would get A.py [4:8] -> [4:9] twice for two different
parameters.
Will allow us to have different file structures but reuse the same test.
@khatchad khatchad changed the title Fix parameter index bug during function parsing Fix parameter index bug during function parsing and generalize test Jun 9, 2023
@khatchad
Copy link
Collaborator Author

@msridhar If you can review this one, we have some more TF2 stuff to add. It uses the generalize tests though found in this PR. Thanks!

@msridhar msridhar merged commit 16cfbf4 into wala:master Jun 12, 2023
@khatchad khatchad deleted the parsing_fix branch June 13, 2023 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants