Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
dartfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Mar 9, 2018
1 parent 7bd1849 commit beb0b0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,8 @@ class FilteredElementList extends IterableBase<Element>
_filtered.getRange(start, end);
// TODO(sigmund): this should be typed Element, but we currently run into a
// bug where ListMixin<E>.indexOf() expects Object as the argument.
int indexOf(Object element, [int start = 0]) => _filtered.indexOf(element, start);
int indexOf(Object element, [int start = 0]) =>
_filtered.indexOf(element, start);

// TODO(sigmund): this should be typed Element, but we currently run into a
// bug where ListMixin<E>.lastIndexOf() expects Object as the argument.
Expand Down

0 comments on commit beb0b0d

Please sign in to comment.