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

Dart 2 runtime failures in tests #591

Closed
keertip opened this issue May 1, 2018 · 1 comment
Closed

Dart 2 runtime failures in tests #591

keertip opened this issue May 1, 2018 · 1 comment
Assignees

Comments

@keertip
Copy link
Contributor

keertip commented May 1, 2018

running tests in dart 2 mode has failures

Expected: throws UnsupportedError
Actual: <Closure: () => Null>
Which: threw ?:<type '_GeneratorIterable' is not a subtype of type 'Iterable' of 'iterable' where
_GeneratorIterable is from dart:core
Iterable is from dart:core
int is from dart:core
>
stack dart:collection _ListBase&Object&ListMixin.setRange
../../collection/test/unmodifiable_collection_test.dart 338:13 testNoWriteList.

type '_CompactLinkedHashSet' is not a subtype of type 'Set' of 'component' where...
type '_CompactLinkedHashSet' is not a subtype of type 'Set' of 'component' where
_CompactLinkedHashSet is from dart:collection
Set is from dart:core
int is from dart:core
package:collection/src/union_set_controller.dart UnionSetController.add
../../collection/test/union_set_controller_test.dart 20:16 main.

type '_CompactLinkedHashSet' is not a subtype of type 'Set' of 'other' where...
type '_CompactLinkedHashSet' is not a subtype of type 'Set' of 'other' where
_CompactLinkedHashSet is from dart:collection
Set is from dart:core
int is from dart:core
package:collection/src/wrappers.dart DelegatingSet.union
../..dart/collection/test/unmodifiable_collection_test.dart 476:20 testReadSet.

and more....

@kevmoo
Copy link
Member

kevmoo commented Jun 21, 2018

Is this fixed?

@keertip keertip closed this as completed Jun 21, 2018
@mosuem mosuem transferred this issue from dart-archive/collection Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants