Chromium Code Reviews| Index: pkg/compiler/lib/src/compiler.dart |
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
| index 3eee56fa326f44772774f777eca78d63c2d32abb..046573fa6b0a649e80c57ada47d61ca53f279f39 100644 |
| --- a/pkg/compiler/lib/src/compiler.dart |
| +++ b/pkg/compiler/lib/src/compiler.dart |
| @@ -769,6 +769,9 @@ abstract class Compiler implements LibraryLoaderListener { |
| cls.ensureResolved(resolution); |
| cls.forEachLocalMember(registerStaticUse); |
| impactBuilder.registerTypeUse(new TypeUse.instantiation(cls.rawType)); |
| + } else if (element.isTypedef) { |
|
Siggi Cherem (dart-lang)
2016/12/20 21:21:47
I feel I missed something: why typedefs are now ha
Johnni Winther
2016/12/21 10:19:37
Typedef should never have been added to the work-l
|
| + TypedefElement typdef = element; |
| + typdef.ensureResolved(resolution); |
| } else { |
| registerStaticUse(element); |
| } |