| Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| index 04191ab114fad3f1f794c6f44c85d6ceb838b783..9c154d5f4cfc8c0e544afd8a0f8540c9c588bbf8 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
|
| @@ -913,7 +913,13 @@ abstract class Compiler implements DiagnosticListener {
|
| if (element.isClass()) {
|
| ClassElement cls = element;
|
| cls.ensureResolved(this);
|
| - cls.forEachLocalMember(world.addToWorkList);
|
| + cls.forEachLocalMember((e) {
|
| + if (e.isSynthesized) {
|
| + // TODO(ahe): Work-around for http://dartbug.com/11205.
|
| + if (e.getLibrary().isPlatformLibrary) return;
|
| + }
|
| + world.addToWorkList(e);
|
| + });
|
| world.registerInstantiatedClass(element, globalDependencies);
|
| } else {
|
| world.addToWorkList(element);
|
|
|