| Index: pkg/analyzer/lib/src/dart/element/type.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/element/type.dart b/pkg/analyzer/lib/src/dart/element/type.dart
|
| index 2189a20855f32b5ae57f0d5580cfd090b98d097e..5462ac6010094e38988f3a7404b4ceb26d12e95f 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/type.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/type.dart
|
| @@ -283,14 +283,14 @@ class DynamicTypeImpl extends TypeImpl {
|
| * Prevent the creation of instances of this class.
|
| */
|
| DynamicTypeImpl._()
|
| - : super(new DynamicElementImpl(), Keyword.DYNAMIC.syntax) {
|
| + : super(new DynamicElementImpl(), Keyword.DYNAMIC.lexeme) {
|
| (element as DynamicElementImpl).type = this;
|
| }
|
|
|
| /**
|
| * Constructor used by [CircularTypeImpl].
|
| */
|
| - DynamicTypeImpl._circular() : super(instance.element, Keyword.DYNAMIC.syntax);
|
| + DynamicTypeImpl._circular() : super(instance.element, Keyword.DYNAMIC.lexeme);
|
|
|
| @override
|
| int get hashCode => 1;
|
| @@ -2842,7 +2842,7 @@ class UndefinedTypeImpl extends TypeImpl {
|
| * Prevent the creation of instances of this class.
|
| */
|
| UndefinedTypeImpl._()
|
| - : super(DynamicElementImpl.instance, Keyword.DYNAMIC.syntax);
|
| + : super(DynamicElementImpl.instance, Keyword.DYNAMIC.lexeme);
|
|
|
| @override
|
| int get hashCode => 1;
|
| @@ -2911,7 +2911,7 @@ class VoidTypeImpl extends TypeImpl implements VoidType {
|
| /**
|
| * Prevent the creation of instances of this class.
|
| */
|
| - VoidTypeImpl._() : super(null, Keyword.VOID.syntax);
|
| + VoidTypeImpl._() : super(null, Keyword.VOID.lexeme);
|
|
|
| @override
|
| int get hashCode => 2;
|
|
|