Add `discarded_futures` to `analysis_options.yaml` or `unawaited_futures` and `async` to `foo`: Repro: ```dart class A { Future<void> m() async {} } class B { B(this.a); final A a; } void foo(B b) { final _ = b.a..m(); // m() triggers final _ = b..a.m(); // m() triggers } ```