Open alorenzen opened 10 years ago
Isn't the reflector_dynamic
import removed by the module transfomer ?
Ah, so it is. We haven't migrated to transformers yet, and are still using the generator script. This mentions a di_static.dart. Where is that generated?
We haven't migrated to transformers yet, and are still using the generator script
@alorenzen then you should discuss with @pavelgj I think this is what is has done in https://github.com/angular/di.dart/pull/169
Right now, src/module.dart imports relector_dynamic.dart, which in turn imports dart:mirrors. (https://github.com/angular/di.dart/blob/master/lib/src/module.dart#L6)
For using the static version of di, we should not depend on dart:mirrors.
Can we remove this dependency from the core code?