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

include seems to leak val declarations #3778

Open
mtzguido opened this issue Feb 20, 2025 · 0 comments
Open

include seems to leak val declarations #3778

mtzguido opened this issue Feb 20, 2025 · 0 comments

Comments

@mtzguido
Copy link
Member

A.fst

module A

include B

let x = 2

B.fsti:

module B

val x : int

Checking A gives:

* Error 162 at A.fst(5,0-5,9):
  - Invalid qualifiers for declaration `let x`
  - Definitions cannot be marked `assume`.

Using an open works fine.

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

1 participant