Skip to content

Conversation

@yoff
Copy link
Contributor

@yoff yoff commented Dec 1, 2020

We had consistency failures because synthetic arguments do not have enclosing callables.

@yoff yoff added the Python label Dec 1, 2020
@yoff yoff requested a review from a team as a code owner December 1, 2020 14:31
Copy link
Member

@RasmusWL RasmusWL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to see this change in action with some tests? 😊

@yoff
Copy link
Contributor Author

yoff commented Dec 3, 2020

Yes, that should be fairly easy. I split it out because my endeavours to fix all the inconsistencies I could find turned out to be a longer process. I should add a small function call to the inconsistency test files for each type of synthetic argument.

@yoff yoff force-pushed the python-dataflow-synthetic-callables branch from 8f90f31 to 0629d3e Compare December 18, 2020 09:46
@yoff
Copy link
Contributor Author

yoff commented Dec 18, 2020

Added tests, rearranged history and made tests be run after each commit, and force-pushed. I realize that it would be even better to enable the three fixes on at a time and see the failures disappear, let me know if you want that.

It also exposed a new failure :-)

@yoff yoff requested a review from RasmusWL December 18, 2020 09:48
Copy link
Member

@RasmusWL RasmusWL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍. Thanks for rearranging history to make things easy. For this case, it's simple enough that I don't need separate commits, but it's good to keep in mind for more tricky cases 👍 (that is, if each fix needed 100 lines of QL code, having 3 separate commits would be nice)

@RasmusWL RasmusWL merged commit 49f902d into github:main Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants