-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-llibrary-coretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Currently, new Map.fromIterable() is very difficult to use in strong mode, because it doesn't support type propagation from the Iterable argument to the callbacks:
Map.fromIterable(Iterable elements, {K key(element), V value(element)});We should fix this, either using #26391 to make the constructor generic, or by making it a static method instead of a constructor.
srawlins, rkj, enyo, bergwerf, zimmi and 38 more
Metadata
Metadata
Assignees
Labels
area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-llibrary-coretype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug