Feedback
The documented `_ =` discard for fire-and-forget Async calls is rejected
- Status
- Fixed
- Fixed in
- v26.9.4
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1200-xecution-stops-silently-after-await-inside-select-case-finally-not-run
- Last updated
- 2026-09-28
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
The documented _ = discard for fire-and-forget Async calls does not compile:
_ = SomeAsyncSub()
fails with:
Undefined identifier '_'.
Expected behaviour: _ = MethodName() acknowledges the fire-and-forget intent and suppresses the "result of async call is not awaited" warning, as documented for async calls. A plain SomeAsyncSub() call works but leaves the warning in place.