Original request by @Smaug123:
let foo () =
use blah = thing
async {
return "hi"
}
We should warn that use blah will be disposed of before the async is run. This should happen when a function returns an Async/Task.
An additional request is that this check can be disabled by a code comment.
Something like:
let foo () =
// Note: disposed before returned async is run
use blah = thing
async {
return "hi"
}