| Index: sdk/lib/_internal/pub/lib/src/dart.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart
|
| index e160572d3ad35a10d9ee3b67405e3fad93c4d42d..612e2676cfe75fbf86a91fb225a5de1824ff215c 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/dart.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/dart.dart
|
| @@ -59,6 +59,7 @@ Future compile(String entrypoint, CompilerProvider provider, {
|
| bool analyzeAll: false,
|
| bool suppressWarnings: false,
|
| bool suppressHints: false,
|
| + bool suppressPackageWarnings: true,
|
| bool terse: false,
|
| bool toDart: false}) {
|
| return syncFuture(() {
|
| @@ -69,6 +70,7 @@ Future compile(String entrypoint, CompilerProvider provider, {
|
| if (analyzeAll) options.add('--analyze-all');
|
| if (suppressWarnings) options.add('--suppress-warnings');
|
| if (suppressHints) options.add('--suppress-hints');
|
| + if (suppressPackageWarnings) options.add('--hide-package-warnings');
|
| if (terse) options.add('--terse');
|
| if (toDart) options.add('--output-type=dart');
|
|
|
|
|