| Index: sdk/lib/_internal/compiler/implementation/compiler.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 29243)
|
| +++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy)
|
| @@ -1145,7 +1145,8 @@
|
| void processQueue(Enqueuer world, Element main) {
|
| world.nativeEnqueuer.processNativeClasses(libraries.values);
|
| if (main != null) {
|
| - if (main.computeSignature(this).parameterCount != 0) {
|
| + FunctionElement mainMethod = main;
|
| + if (mainMethod.computeSignature(this).parameterCount != 0) {
|
| // TODO(ngeoffray, floitsch): we should also ensure that the
|
| // class IsolateMessage is instantiated. Currently, just enabling
|
| // isolate support works.
|
|
|