This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
[dccd] Changing ref to Iterables cause an exception #1158
Closed
Description
@chirayuk could you please take a look at this:
iit('should support switching refs', async(() {
var list = [0];
var record = detector.watch(list, null, null);
microLeap();
var iterator = detector.collectChanges()..moveNext();
record.object = [1, 0];
microLeap();
iterator = detector.collectChanges()..moveNext();
expect(iterator.current.currentValue, toEqualCollectionRecord(
collection: ['1[null -> 0]', '0[0->1]'],
additions: ['1[null -> 0]'],
moves: ['0[0->1]'],
removals: []));
}));
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
and microLeap
- they are not related to the issue)
Metadata
Metadata
Assignees
Labels
No labels