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

Error after installing boogie-friends #42

Open
pys opened this issue Sep 27, 2024 · 3 comments
Open

Error after installing boogie-friends #42

pys opened this issue Sep 27, 2024 · 3 comments

Comments

@pys
Copy link

pys commented Sep 27, 2024

Perhaps I missed something obvious, since I'm a total newcomer.
I installed as described, and I get the message :

Eager macro-expansion failure: (error "Unknown dafny:compilation/progress pattern: (dafny:compilation/progres
s :uri :status :message)")

@ayanamists
Copy link

ayanamists commented Nov 29, 2024

After some digging, I found this problem due to a breaking change in lsp-mode version 9.0.1.

At this time, I don't know how to make a polyfill work for both lsp-mode version 9.0.1 and below version 9.0.0. But if you just want to use Dafny right now, I provide a hotfix in the attached file. (How to use it depends on how you install this package; you can ask ChatGPT if you're not experienced with Emacs).

dafny.patch

@keyboardDrummer
Copy link

keyboardDrummer commented Nov 29, 2024

@ayanamists I think this repository is lacking proper maintainer resources, so finding the right polyfill might be too ambitious. Would it be an idea to apply the diff in your patch, even though it will break boogie-friends users that are on an older lsp-mode version, so that at least users can fix themselves by updating both boogie-friends and lsp-mode?

@ayanamists
Copy link

ayanamists commented Nov 29, 2024 via email

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

No branches or pull requests

3 participants