From lensapp/lens:
Originally posted by Ron Buckton (@rbuckton) in #45846 (comment)
We're checking return type assignability and end up with a T from unwrapping the return type annotation but an Awaited<T> from checking the ReturnStatement's expression.
From lensapp/lens:
getAwaitedTypereturning anAwaited<T>instantiation when checking return statements.Originally posted by Ron Buckton (@rbuckton) in #45846 (comment)
We're checking return type assignability and end up with a
Tfrom unwrapping the return type annotation but anAwaited<T>from checking the ReturnStatement's expression.