Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access to EmptyIterator #18641

Closed
DartBot opened this issue May 5, 2014 · 3 comments
Closed

access to EmptyIterator #18641

DartBot opened this issue May 5, 2014 · 3 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-collection P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented May 5, 2014

This issue was originally filed by @Bluenuance


Move EmptyIterator to a 'non-internal' space. It is generic and is useful for people writing own iterators; so they don't have to copy, paste it.

@lrhn
Copy link
Member

lrhn commented May 6, 2014

You can easily get an empty iterator using
  new Iterabel.generate(0).iterator;
(which really reduces to new EmptyIterable().iterator), or
  const[].iterator
which isn't the same, but it's really short.


Removed Type-Defect, Priority-Unassigned labels.
Added Type-Enhancement, Priority-Low, Library-Collection, Area-Library, Triaged labels.

@DartBot DartBot added Type-Enhancement P3 A lower priority bug or feature request library-collection area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels May 6, 2014
@Bluenuance
Copy link

can be closed now as in 1.11 EmptyIterable is available

@lrhn
Copy link
Member

lrhn commented Jun 26, 2015

Done

@lrhn lrhn closed this as completed Jun 26, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-collection P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants