| Index: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| index 732e44c31f6b819330752ee45783a8e3ded53cfa..66f97f43cbcb1d81033b7101c7db17f374d42ea6 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
|
| @@ -1959,6 +1959,8 @@ abstract class ClassElementX extends BaseClassElementX {
|
|
|
| void setDefaultConstructor(FunctionElement constructor, Compiler compiler) {
|
| addToScope(constructor, compiler);
|
| + // The default constructor, although synthetic, is part of a class' API.
|
| + localMembers = localMembers.prepend(constructor);
|
| }
|
|
|
| Link<DartType> computeTypeParameters(Compiler compiler) {
|
|
|