You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify that flow inference for blocks only works inside methods
There's no principled reason for this. It's just that our approach
with the new type of Completer seems brittle, so I'd like to guarantee
that is only used for vals that appear inside method bodies, since those
must be forced when the corresponding block is typed (so it seems safe
to use the completion context, as opposed to the creation one).
0 commit comments