Index: pkg/compiler/lib/src/elements/elements.dart |
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart |
index dc708d0d6076dd1899c236011970172a360baaae..48cceb1aa187798463849a4501662306d3812b19 100644 |
--- a/pkg/compiler/lib/src/elements/elements.dart |
+++ b/pkg/compiler/lib/src/elements/elements.dart |
@@ -1067,7 +1067,7 @@ abstract class FormalElement extends Element |
/// |
/// Normal parameter that introduce a local variable are modeled by |
/// [LocalParameterElement] whereas initializing formals, that is parameter of |
-/// the form `this.x`, are modeled by [InitializingFormalParameter]. |
+/// the form `this.x`, are modeled by [InitializingFormalElement]. |
abstract class ParameterElement extends Element |
implements VariableElement, FormalElement, LocalElement { |
/// Use [functionDeclaration] instead. |
@@ -1092,7 +1092,7 @@ abstract class LocalParameterElement extends ParameterElement |
/// A formal parameter in a constructor that directly initializes a field. |
/// |
/// For example: `A(this.field)`. |
-abstract class InitializingFormalElement extends ParameterElement { |
+abstract class InitializingFormalElement extends LocalParameterElement { |
/// The field initialized by this initializing formal. |
FieldElement get fieldElement; |