Index: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/metadata_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/metadata_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/metadata_emitter.dart |
index 08b7212a264350b94af7bb6d6ba0d05c8c5d32ef..2e0c6f7fb756c56f8acbed512216e6e558809884 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/metadata_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/metadata_emitter.dart |
@@ -27,7 +27,7 @@ class MetadataEmitter extends CodeEmitterHelper { |
if (link != null) { |
for (; !link.isEmpty; link = link.tail) { |
MetadataAnnotation annotation = link.head; |
- ConstExp constant = |
+ ConstantExpression constant = |
backend.constants.getConstantForMetadata(annotation); |
if (constant == null) { |
compiler.internalError(annotation, 'Annotation value is null.'); |
@@ -47,7 +47,7 @@ class MetadataEmitter extends CodeEmitterHelper { |
if (signature.optionalParameterCount == 0) return const []; |
List<int> defaultValues = <int>[]; |
for (Element element in signature.optionalParameters) { |
- ConstExp constant = backend.constants.getConstantForVariable(element); |
+ ConstantExpression constant = backend.constants.getConstantForVariable(element); |
sigurdm
2014/10/01 07:46:47
Long line
Johnni Winther
2014/10/01 08:21:23
Done.
|
String stringRepresentation = (constant == null) |
? "null" |
: jsAst.prettyPrint( |
@@ -58,7 +58,7 @@ class MetadataEmitter extends CodeEmitterHelper { |
} |
int reifyMetadata(MetadataAnnotation annotation) { |
- ConstExp constant = backend.constants.getConstantForMetadata(annotation); |
+ ConstantExpression constant = backend.constants.getConstantForMetadata(annotation); |
sigurdm
2014/10/01 07:46:47
Long line
Johnni Winther
2014/10/01 08:21:23
Done.
|
if (constant == null) { |
compiler.internalError(annotation, 'Annotation value is null.'); |
return -1; |