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

Bug in beluga-mode holes #239

Open
sarahzrf opened this issue Mar 31, 2021 · 0 comments
Open

Bug in beluga-mode holes #239

sarahzrf opened this issue Mar 31, 2021 · 0 comments
Labels
A | interactive-mode affecting the basic interactive mode `beluga -I` B | bug unexpected or incorrect behaviour

Comments

@sarahzrf
Copy link

beluga-mode's holes feature does not work after the first load as of 1d39095 because the elisp assumes that holes are numbered starting from 0 but the ocaml uses a single counter to assign numbers to holes across multiple file loads.

Here's a sample patch that fixes the problem, albeit in a possibly non-ideal way:
https://gist.github.com/ee727345c639c6d496c6e177f955fe57

@MartyO256 MartyO256 added B | bug unexpected or incorrect behaviour A | interactive-mode affecting the basic interactive mode `beluga -I` labels Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A | interactive-mode affecting the basic interactive mode `beluga -I` B | bug unexpected or incorrect behaviour
Projects
None yet
Development

No branches or pull requests

2 participants