Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions lib/core/scope.dart
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,11 @@ class Scope {
var child = new Scope(childContext, rootScope, this,
_readWriteGroup.newGroup(childContext),
_readOnlyGroup.newGroup(childContext));
var next = null;

var prev = _childTail;
child._next = next;
child._prev = prev;
if (prev == null) _childHead = child; else prev._next = child;
if (next == null) _childTail = child; else next._prev = child;
_childTail = child;
return child;
}

Expand Down Expand Up @@ -419,7 +418,7 @@ class RootScope extends Scope {

RootScope(Object context, this._astParser, this._parser,
GetterCache cacheGetter, FilterMap filterMap,
this._exceptionHandler, this._ttl, this._zone,
this._exceptionHandler, this._ttl, this._zone,
this._scopeStats)
: super(context, null, null,
new RootWatchGroup(new DirtyCheckingChangeDetector(cacheGetter), context),
Expand Down