This repository was archived by the owner on Feb 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
[dccd] Changing ref to Iterables cause an exception #1158
Comments
2 tasks
@chirayuk seems like
Notice how the third list is compared to the first one (the test passes) |
In your test case, you're only calling You could rewrite it like this (ref: chirayuk@9f69f73): iit('ckck: issue 1158: should support switching refs', async(() {
var list = [0];
var record = detector.watch(list, null, null);
if (detector.collectChanges().moveNext()) {
detector.collectChanges();
}
record.object = [1, 0];
var iterator = detector.collectChanges()..moveNext();
expect(iterator.current.currentValue, toEqualCollectionRecord(
collection: ['1[null -> 0]', '0[0 -> 1]'],
previous: ['0[0 -> 1]'],
additions: ['1[null -> 0]'],
moves: ['0[0 -> 1]'],
removals: []));
})); |
vicb
added a commit
to vicb/angular.dart
that referenced
this issue
Jul 22, 2014
vicb
added a commit
to vicb/angular.dart
that referenced
this issue
Aug 4, 2014
dsalsbury
pushed a commit
to dsalsbury/angular.dart
that referenced
this issue
Aug 16, 2014
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@chirayuk could you please take a look at this:
The error is
`Test failed: Caught The null object does not have a setter '_next@0x1d3970e2='.
Is the usage wrong or is this a bug ?
(You can ignore the
async
andmicroLeap
- they are not related to the issue)The text was updated successfully, but these errors were encountered: