| Index: pkg/code_transformers/lib/src/resolver_impl.dart
|
| diff --git a/pkg/code_transformers/lib/src/resolver_impl.dart b/pkg/code_transformers/lib/src/resolver_impl.dart
|
| index 7f05b2df0182b1d95383959181c9e5aded0bc889..f26c0726a4f58f5a5e14bee5e33793883f81dd19 100644
|
| --- a/pkg/code_transformers/lib/src/resolver_impl.dart
|
| +++ b/pkg/code_transformers/lib/src/resolver_impl.dart
|
| @@ -289,7 +289,7 @@ class _AssetBasedSource extends Source {
|
| /// any analyzer resolution.
|
| void updateDependencies(String contents) {
|
| if (contents == _contents) return;
|
| - var unit = parseCompilationUnit(contents);
|
| + var unit = parseCompilationUnit(contents, suppressErrors: true);
|
| _dependentAssets = unit.directives
|
| .where((d) => (d is ImportDirective || d is PartDirective ||
|
| d is ExportDirective))
|
|
|