Closed pavelgj closed 10 years ago
Right now an error like this is produces when default constructor for an injectable type is not found by DynamicInjector.
DynamicInjector
Uncaught TypeError: Cannot call method 'get$parameters' of undefined dynamic_injector.dart:42 DynamicInjector.newInstanceOf$4 dynamic_injector.dart:42 _TypeProvider.get$4 module.dart:142 Injector__getInstanceByType_closure.call$0 injector.dart:118 _defaultCreationStrategy module.dart:106 Injector._getInstanceByType$2 injector.dart:116 (anonymous function) VM7762:3 DynamicInjector_newInstanceOf_resolveArgument.call$1 dynamic_injector.dart:39 List_List$generate list.dart:127 DynamicInjector.newInstanceOf$4 dynamic_injector.dart:42 _TypeProvider.get$4 module.dart:142 Injector__getInstanceByType_closure.call$0 injector.dart:118 ...
Fixed in https://github.com/angular/di.dart/commit/91c35c01a3ae0c4c0188fde156fe24c9a322933c
Right now an error like this is produces when default constructor for an injectable type is not found by
DynamicInjector
.