Skip to content

Conversation

ejgallego
Copy link
Collaborator

@ejgallego ejgallego commented May 20, 2020

PR #289 silently removed important unit tests in the Pure module.

We fix this, in particular:

  • we add parsing offsets to LP's position type (this is very
    convenient for certain operations.

  • we add a new parsing API in pure to allow parsing resumption

  • we add new tests, including parsing resumption.

  • we fix Command.equal as to have equality functions ignore
    positions.

@ejgallego
Copy link
Collaborator Author

In general it would be nice if future PRs don't remove important tests without fixing them.

@ejgallego
Copy link
Collaborator Author

@vycastor , I think that some of the refactoring we need for the server should also fix this; in particular the way state is handling needs to be become a bit more abstract as to allow for example file-less parsing.

@ejgallego ejgallego force-pushed the inline_test+recover branch from 26be259 to 368e29a Compare May 27, 2020 08:35
@fblanqui fblanqui mentioned this pull request Dec 16, 2021
@ejgallego ejgallego force-pushed the inline_test+recover branch 3 times, most recently from b33eb64 to eceff9a Compare October 18, 2022 10:43
@ejgallego ejgallego force-pushed the inline_test+recover branch from eceff9a to bdbbd9c Compare June 16, 2025 10:34
@ejgallego ejgallego force-pushed the inline_test+recover branch 8 times, most recently from 20bfa23 to cbfbd12 Compare June 30, 2025 11:20
@Alidra Alidra requested a review from fblanqui July 1, 2025 07:32
@Alidra Alidra changed the title [pure] [lsp] Try to recover unit testing of pure interface [pure] [lsp] Refactor Pure to make it work with Flèche and recover unit tests Jul 2, 2025
@ejgallego ejgallego force-pushed the inline_test+recover branch from e12554d to 1fce0ea Compare July 22, 2025 08:28
PR Deducteam#289 silently removed important unit tests in the Pure module.

We fix this, in particular:

- we add parsing offsets to LP's position type (this is very
  convenient for certain operations.

- we add a new parsing API in pure to allow parsing resumption

- we add new tests, including parsing resumption.

- we fix `Command.equal` as to have equality functions ignore
positions.

Co-authored-by: Alidra <40537601+Alidra@users.noreply.github.com>
@ejgallego ejgallego force-pushed the inline_test+recover branch from 1fce0ea to 94aecf7 Compare July 22, 2025 08:45
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