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

Check that a file is consistently annotated with effects #293

Open
JonathanAldrich opened this issue Jan 17, 2019 · 0 comments
Open

Check that a file is consistently annotated with effects #293

JonathanAldrich opened this issue Jan 17, 2019 · 0 comments

Comments

@JonathanAldrich
Copy link
Member

Right now, effects are only checked for functions that include annotations. But it is easy to intend to check for effects consistently, but leave off effects on one particular declaration in the file. This compromises soundness of effect checking.

There should be some way to indicate that effect checking is desired throughout a file. One approach is an annotation at the top. Another might be to say that if there is one annotation, then the whole file should be annotated.

Regardless, the check should make sure that every function is annotated with its effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant