style(change_detect): Minor readability updates

This commit is contained in:
Tim Blasi 2015-07-17 14:08:07 -07:00
parent f74d97e1f1
commit 19e4ee81b9
1 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ class _CodegenState {
List<String> _getNonNullPipeNames() {
return _records
.where((r) => r.mode == RecordType.PIPE)
.where((r) => r.isPipeRecord())
.map((r) => _pipeNames[r.selfIndex])
.toList();
}
@ -276,7 +276,7 @@ class _CodegenState {
'${_genGetDirective(rec.directiveIndex)}.onAllChangesDone();')
.join('');
return '''
_dispatcher.notifyOnAllChangesDone();
$_DISPATCHER_ACCESSOR.notifyOnAllChangesDone();
${directiveNotifications}
''';
}