| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index cf9ca73809dc49c4bd8c795f93aaf0cde1d40897..e6738a4e24e5c542dfca6989fea7161be6acdead 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -132,6 +132,8 @@ import 'universe/selector.dart' show
|
| Selector;
|
| import 'universe/universe.dart' show
|
| Universe;
|
| +import 'universe/use.dart' show
|
| + StaticUse;
|
| import 'universe/world_impact.dart' show
|
| WorldImpact;
|
| import 'util/util.dart' show
|
| @@ -905,7 +907,7 @@ abstract class Compiler {
|
| parameter);
|
| mainFunction = backend.helperForMainArity();
|
| // Don't warn about main not being used:
|
| - enqueuer.resolution.registerStaticUse(main);
|
| + enqueuer.resolution.registerStaticUse(new StaticUse.foreignUse(main));
|
| });
|
| }
|
| }
|
|
|