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

master, last three releases all build but can't compile FStar.Common.fst* from emacs or command line #3469

Open
briangmilnes opened this issue Sep 12, 2024 · 3 comments

Comments

@briangmilnes
Copy link
Contributor

/home/milnes/contrib/multicache/FStar/src/basic/FStar.Common.fst(54,27-57,27):

  • Computed type Prims.int & 'b
    and effect FStar.Compiler.Effect.ALL
    is not compatible with the annotated type Prims.int & 'b
    and effect Tot

So we have the issue that this does compile during build but won't compile in a language
server (using it's own fstar.exe). Nor will a command line compile from emacs work.

This prevents me from hacking the system.

I checked for a hung language server and so on.

@nikswamy
Copy link
Collaborator

The F* compiler itself builds with a flag called --MLish which sets the default effect to ML, which is different than ordinary F* builds. Do you have this option set?

@briangmilnes
Copy link
Contributor Author

Ah it's all --MLish! I'll document in my modifying the compiler writeup.

@briangmilnes
Copy link
Contributor Author

briangmilnes commented Sep 12, 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

2 participants