refactor(dart/transform): Add warning about issue #1747

Add a more descriptive warning about the lack of support for `Directive`
dependency aliases and a pointer to more information.
This commit is contained in:
Tim Blasi 2015-07-20 09:05:52 -07:00
parent 153660fe7b
commit 095def3845
1 changed files with 5 additions and 1 deletions

View File

@ -254,7 +254,11 @@ class _TemplateExtractVisitor extends Object with RecursiveAstVisitor<Object> {
if (_metadataMap.containsKey(name)) {
viewDef.directives.add(_metadataMap[name]);
} else {
logger.warning('Could not find Directive entry for $name');
logger.warning('Could not find Directive entry for $name. '
'Please be aware that reusable, pre-defined lists of Directives '
'(aka "directive aliases") are not yet supported and will cause '
'your application to misbehave. '
'See https://github.com/angular/angular/issues/1747 for details.');
}
}
}