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

Update REPL artifacts with builtins from stored modules #2639

Merged
merged 7 commits into from
Feb 26, 2024

Conversation

paulcadman
Copy link
Collaborator

@paulcadman paulcadman commented Feb 8, 2024

Builtin information needs to be propagated from stored modules to REPL artifacts to avoid "The builtin _ has not been defined" errors.

This PR adds a test suite for the REPL in the Haskell test code. This means some of the slow smoke tests can be moved to fast haskell unit tests. In future we should refactor the REPL code by putting in the main src target and unit testing more features (e.g :doc, :def).

@paulcadman paulcadman added this to the 0.6.0 milestone Feb 8, 2024
@paulcadman paulcadman self-assigned this Feb 8, 2024
@paulcadman paulcadman force-pushed the fix-repl-builtins branch 2 times, most recently from 51187dd to a2cede1 Compare February 12, 2024 20:31
@paulcadman paulcadman marked this pull request as ready for review February 22, 2024 12:14
@janmasrovira janmasrovira self-requested a review February 26, 2024 09:07
janmasrovira
janmasrovira previously approved these changes Feb 26, 2024
@paulcadman paulcadman merged commit a091a7f into main Feb 26, 2024
4 checks passed
@paulcadman paulcadman deleted the fix-repl-builtins branch February 26, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling list functions in REPL fails with "The builtin nil has not been defined"
2 participants