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
temp.dart:9:10: Error: A value of type 'Future<dynamic>' can't be assigned to a variable of type 'FutureOr<int>'.
- 'Future' is from 'dart:async'.
- 'FutureOr' is from 'dart:async'.
return x;
^
From talking to @eernst, my understanding is that this code should continue to be allowed under null safety.
The text was updated successfully, but these errors were encountered:
Consider:
This program runs fine normally, but if I run:
Then I get:
From talking to @eernst, my understanding is that this code should continue to be allowed under null safety.
The text was updated successfully, but these errors were encountered: