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
Similar to /issues/74
Here's the code snippet:
import scala.async.Async._ import scala.concurrent.Future import scala.concurrent.ExecutionContext.Implicits.global def doStuff(v: Any): Any = { v } def main() { async { val s = if (1 == 1) { await(Future{doStuff(true)}) await(Future{doStuff(10)}) s"true" } else { s"false" } println(s) } } main()
Assigning the futures to a val will not throw the warning.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Similar to /issues/74
Here's the code snippet:
Assigning the futures to a val will not throw the warning.
The text was updated successfully, but these errors were encountered: