dart2js erroneous warning #15494
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
new Set.from(someList == null ? [] :
someList);
outputs:
--- Dec 6, 2013 10:27:42 AM Running dart2js... ---
myexample.dart Warning: 'EfficientLength' is not assignable to 'Iterable<dynamic>'.
new Set.from(someList.channelIds == null ? [] :
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/core/set.dart:54:11: Info: This is the method declaration.
factory Set.from(Iterable<E> other) = LinkedHashSet<E>.from;
^^^
This is not expected.
The text was updated successfully, but these errors were encountered: