| Index: dart/lib/compiler/implementation/elements/elements.dart
|
| diff --git a/dart/lib/compiler/implementation/elements/elements.dart b/dart/lib/compiler/implementation/elements/elements.dart
|
| index a598263618ccca1b64bb36faab2f996170745d69..db285be7446542d499059f2cc318fb3d2e1c4d9e 100644
|
| --- a/dart/lib/compiler/implementation/elements/elements.dart
|
| +++ b/dart/lib/compiler/implementation/elements/elements.dart
|
| @@ -680,7 +680,7 @@ class SynthesizedConstructorElement extends FunctionElement {
|
|
|
| class VoidElement extends Element {
|
| VoidElement(Element enclosing)
|
| - : super(Types.VOID, ElementKind.VOID, enclosing);
|
| + : super(const SourceString('void'), ElementKind.VOID, enclosing);
|
| Type computeType(compiler) => compiler.types.voidType;
|
| Node parseNode(_) {
|
| throw 'internal error: parseNode on void';
|
|
|