File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ class DirectiveInjector implements DirectiveBinder {
324
324
dynamic _new (Key k, List <Key > paramKeys, Function fn) {
325
325
if (_constructionDepth > MAX_CONSTRUCTION_DEPTH ) {
326
326
_constructionDepth = NO_CONSTRUCTION ;
327
- throw new DiCircularDependencyError (key );
327
+ throw new DiCircularDependencyError (k );
328
328
}
329
329
bool isFirstConstruction = (_constructionDepth++ == NO_CONSTRUCTION );
330
330
var oldTag = _TAG_GET .makeCurrent ();
@@ -479,7 +479,7 @@ class ComponentDirectiveInjector extends DirectiveInjector {
479
479
// For efficiency we run through the maximum resolving depth and unwind
480
480
// instead of setting 'resolving' key per type.
481
481
class DiCircularDependencyError extends ResolvingError {
482
- DiCircularDependencyError (key) : super (key);
482
+ DiCircularDependencyError (Key key) : super (key);
483
483
484
484
// strips the cyclical part of the chain.
485
485
List <Key > get stripCycle {
You can’t perform that action at this time.
0 commit comments