Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit efcdca3

Browse files
committed
fix(dccd): fix DirtyCheckingRecord.toString() throws an exception
closes #1057
1 parent a355612 commit efcdca3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: lib/change_detection/dirty_checking_change_detector.dart

+8-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,14 @@ class _ChangeIterator<H> implements Iterator<Record<H>>{
371371
*/
372372
class DirtyCheckingRecord<H> implements Record<H>, WatchRecord<H> {
373373
static const List<String> _MODE_NAMES =
374-
const ['MARKER', 'IDENT', 'GETTER', 'MAP[]', 'ITERABLE', 'MAP'];
374+
const ['MARKER',
375+
'NOOP',
376+
'IDENTITY',
377+
'GETTER',
378+
'GETTER / CLOSURE'
379+
'MAP[]',
380+
'ITERABLE',
381+
'MAP'];
375382
static const int _MODE_MARKER_ = 0;
376383
static const int _MODE_NOOP_ = 1;
377384
static const int _MODE_IDENTITY_ = 2;

0 commit comments

Comments
 (0)