We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should consider warning users when an effect is not used. I can think of the following two situations where we might want additional warnings:
def foo(): Int / emit[Int] = 42
Here we annotated that we use an effect but don't.
def bar() = boundary { () }
Here we use a "handler function" boundary which handles a stop effect but don't actually use the handled effect stop.
boundary
stop
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We should consider warning users when an effect is not used. I can think of the following two situations where we might want additional warnings:
Here we annotated that we use an effect but don't.
Here we use a "handler function"
boundary
which handles astop
effect but don't actually use the handled effectstop
.The text was updated successfully, but these errors were encountered: