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

Stop implementing deprecated BidirectionalIterator. #714

Merged
merged 2 commits into from Dec 9, 2022

Conversation

lrhn
Copy link
Contributor

@lrhn lrhn commented Dec 8, 2022

The TreeIterator implemented BidirectionalIterator, which is deprecated and will go away in Dart 3.0.

This changes it to just implement Iterarator, and have its own movePrevious.

This could be a breaking change, but it does not appear that anyone ever casts the TreeIterator to BidirectionalIterator (because they might as well just keep the TreeIterator type, and there is no helper function anywhere in the world which expects just a BidirectionalIterator that you can pass the iterator to).

@mit-mit
Copy link
Member

mit-mit commented Dec 8, 2022

cc @kevmoo

@mit-mit
Copy link
Member

mit-mit commented Dec 9, 2022

@kevmoo can you merge too? we don't have the needed permissions

@kevmoo kevmoo merged commit f68896f into google:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants