Dart doesn't have intersection types #20957
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
closed-duplicate
Closed in favor of an existing report
I'm getting these hints from the analyzer:
sdk/lib/_internal/compiler/implementation/resolution/members.dart:2028:49: [ARGUMENT_TYPE_NOT_ASSIGNABLE]The argument type '{BadInterfaceType,TypedefType,InterfaceType,BadTypedefType,MalformedType}' cannot be assigned to the parameter type 'GenericType'
sdk/lib/_internal/compiler/implementation/resolution/members.dart:2850:52: [ARGUMENT_TYPE_NOT_ASSIGNABLE]The argument type '{FunctionElement,ErroneousElement}' cannot be assigned to the parameter type 'VariableElement'
I've processed the --machine format output to be understood by Emacs.
These hints are wrong, and the messages a type expression that doesn't exist in the Dart language.
The text was updated successfully, but these errors were encountered: