Skip to content

Partial cleanups in VM #667

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

Merged
merged 18 commits into from
Jan 27, 2021
Merged

Partial cleanups in VM #667

merged 18 commits into from
Jan 27, 2021

Conversation

plotnick
Copy link
Contributor

Refactor VM handling of unbound and partially-bound variables. Main change is that dot_op_helper, arithmetic_op_helper, comparison_op_helper, and dot_op_helper are now all called through query_op_helper, which handles most of the variable cases in a uniform way. isa and unify still have their own special handling.

@github-actions
Copy link

github-actions bot commented Jan 21, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@plotnick plotnick marked this pull request as draft January 21, 2021 23:42
This reverts commit 304dfe4,
and instead fixes the underlying problem, which was that we
were losing source information in sub-queries.
@plotnick plotnick marked this pull request as ready for review January 22, 2021 20:49
@plotnick plotnick requested a review from gj January 22, 2021 20:49
Copy link
Member

@gj gj left a comment

Choose a reason for hiding this comment

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

Would like to see more than a single basic test of partial arithmetic before we open that Pandora's box 🧚

Copy link
Member

@gj gj left a comment

Choose a reason for hiding this comment

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

Creating a follow-up task to add tests for partial arithmetic and interactions between partial arithmetic and other partial operations

@plotnick plotnick merged commit a07c7c0 into release-0.11.0-alpha Jan 27, 2021
@plotnick plotnick deleted the alex/partial-cleanup branch January 27, 2021 17:34
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants