Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate .ng_deps.dart for a file with part directive. #6

Open
kegluneq opened this issue Mar 3, 2015 · 1 comment
Open

Generate .ng_deps.dart for a file with part directive. #6

kegluneq opened this issue Mar 3, 2015 · 1 comment
Labels

Comments

@kegluneq
Copy link
Owner

kegluneq commented Mar 3, 2015

part should not be carried over into the generated .ngDeps.dart file.

@kegluneq kegluneq changed the title Generate .ngDeps.dart for a file with part directive. Generate .ng_deps.dart for a file with part directive. Mar 17, 2015
@kegluneq
Copy link
Owner Author

Handle the case where a type needed by an @Injectable is provided in a file included via a part directive.

Example:

foo.dart

library mylib;

part bar.dart

@Injectable
class Foo {
  Foo(Bar b);
}

bar.dart

part of mylib;

class Bar {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant