Chromium Code Reviews| Index: pkg/compiler/lib/src/enqueue.dart |
| diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart |
| index eb88a0bd9f3858fa942061481e9a631e91574667..89d0449af2d50e45f32806c360d6405723c7193c 100644 |
| --- a/pkg/compiler/lib/src/enqueue.dart |
| +++ b/pkg/compiler/lib/src/enqueue.dart |
| @@ -349,6 +349,9 @@ class ResolutionEnqueuer extends EnqueuerImpl { |
| } |
| break; |
| case TypeUseKind.TYPE_LITERAL: |
| + if (type.isTypedef) { |
| + universe.openWorld.registerTypedef(type.element); |
| + } |
| break; |
| } |
| } |