| Index: pkg/compiler/lib/src/enqueue.dart
|
| diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart
|
| index 271e3eccc8e657dba3f2eefdeb8695d77ac5090e..12c5a42bb0382d4fb7fae6d83722c78a68889c3b 100644
|
| --- a/pkg/compiler/lib/src/enqueue.dart
|
| +++ b/pkg/compiler/lib/src/enqueue.dart
|
| @@ -600,6 +600,10 @@ class ResolutionEnqueuer extends Enqueuer {
|
| case StaticUseKind.CONST_CONSTRUCTOR_INVOKE:
|
| registerTypeUse(new TypeUse.instantiation(staticUse.type));
|
| break;
|
| + case StaticUseKind.DIRECT_INVOKE:
|
| + invariant(
|
| + element, 'Direct static use is not supported for resolution.');
|
| + break;
|
| }
|
| if (addElement) {
|
| addToWorkList(element);
|
|
|