Avatar
Avatar
Iceman
@swift-5.9.2 func f() async {} async let a = f() await a
<stdin>:3:11: warning: constant 'a' inferred to have type '()', which may be unexpected async let a = f() ^ <stdin>:3:11: note: add an explicit type annotation to silence this warning async let a = f() ^ : ()