feat(dart/transform): Fix handling of Dart keywords

Use `package:analyzer`'s list of Dart keywords to ensure we are properly
reporting usages of Dart keywords as runtime errors.
This commit is contained in:
Tim Blasi
2015-04-09 17:51:06 -07:00
parent 2cab7c79c3
commit f6e9d1f857
6 changed files with 75 additions and 14 deletions

View File

@ -200,6 +200,7 @@ class _Tester {
return metaName == 'Component' ||
metaName == 'Decorator' ||
metaName == 'Injectable' ||
metaName == 'View';
metaName == 'View' ||
metaName == 'Viewport';
}
}