| Index: dart/pkg/compiler/lib/src/elements/modelx.dart
|
| diff --git a/dart/pkg/compiler/lib/src/elements/modelx.dart b/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| index e1b4f516821e8a965f4eca959cb8ef3797eebb25..959a5926c73a73afcf0c55ec1a30e6bec712ac3f 100644
|
| --- a/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| +++ b/dart/pkg/compiler/lib/src/elements/modelx.dart
|
| @@ -329,6 +329,20 @@ class ErroneousElementX extends ElementX implements ErroneousElement {
|
| accept(ElementVisitor visitor) => visitor.visitErroneousElement(this);
|
| }
|
|
|
| +/// A constructor that was synthesized to recover from a compile-time error.
|
| +class ErroneousConstructorElementX extends ErroneousElementX {
|
| + // TODO(ahe): Instead of subclassing [ErroneousElementX], this class should
|
| + // be more like [ErroneousFieldElementX]. In particular, its kind should be
|
| + // [ElementKind.GENERATIVE_CONSTRUCTOR], and it shouldn't throw as much.
|
| +
|
| + ErroneousConstructorElementX(
|
| + MessageKind messageKind,
|
| + Map messageArguments,
|
| + String name,
|
| + Element enclosing)
|
| + : super(messageKind, messageArguments, name, enclosing);
|
| +}
|
| +
|
| /// A message attached to a [WarnOnUseElementX].
|
| class WrappedMessage {
|
| /// The message position. If [:null:] the position of the reference to the
|
|
|