Skip to content

Pruning error - #101

Draft
MysaaJava wants to merge 1 commit into
rocq-community:masterfrom
MysaaJava:fix-data-pruning
Draft

MysaaJava wants to merge 1 commit into
rocq-community:masterfrom
MysaaJava:fix-data-pruning

Conversation

@MysaaJava

Copy link
Copy Markdown
Collaborator

On a development branch, @lweqx got a elpi pruning error when using trocq.

This was caused by "data" accessors in data.elpi not pruning the output variable, even though they are constants and therefore independent on the context.

I made a unit test for this case. The unit test did match the issue, and the provided fix did work on the development branch.
The unit test do fail on master, but the fix does not work on master.

This PR is stale until the development branch is merged, or the fix is adapted to master.

TODO: minimize the second part of the unit test a bit more

This branch has not been deployed

No deployments
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.

1 participant