| Index: pkg/code_transformers/lib/src/entry_point.dart
|
| diff --git a/pkg/code_transformers/lib/src/entry_point.dart b/pkg/code_transformers/lib/src/entry_point.dart
|
| index 4c6a62ae773767fa547ec3235f5d034949a74c64..ee7868e3ea9fef58a419664d79e6c3ef251ac6e6 100644
|
| --- a/pkg/code_transformers/lib/src/entry_point.dart
|
| +++ b/pkg/code_transformers/lib/src/entry_point.dart
|
| @@ -23,7 +23,8 @@ Future<bool> isPossibleDartEntry(Asset asset) {
|
| return new Future.value(false);
|
| }
|
| return asset.readAsString().then((contents) {
|
| - return _couldBeEntrypoint(analyzer.parseCompilationUnit(contents));
|
| + return _couldBeEntrypoint(
|
| + analyzer.parseCompilationUnit(contents, suppressErrors: true));
|
| });
|
| }
|
|
|
|
|