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
CFE infers the type of Future.value(...) to be a Future<int?>("Error: The getter 'foo' isn't defined for the class 'Future<int?>'."). Analyzer infers it to be Future<int>. In dart-lang/language#3304, it was decided that CFE infers the wrong type here.
Implementation issue for CFE for dart-lang/language#3304.
See this code:
CFE infers the type of
Future.value(...)
to be aFuture<int?>
("Error: The getter 'foo' isn't defined for the class 'Future<int?>
'."). Analyzer infers it to beFuture<int>
. In dart-lang/language#3304, it was decided that CFE infers the wrong type here.This discrepancy is blocking #53253.
The text was updated successfully, but these errors were encountered: