Index: pkg/compiler/lib/src/serialization/constant_serialization.dart |
diff --git a/pkg/compiler/lib/src/serialization/constant_serialization.dart b/pkg/compiler/lib/src/serialization/constant_serialization.dart |
index 6a81082535d8ee4f85ba41e2029fbab85867bd49..fae88188fcb89d9c625d674dea50fdb0133fa7e4 100644 |
--- a/pkg/compiler/lib/src/serialization/constant_serialization.dart |
+++ b/pkg/compiler/lib/src/serialization/constant_serialization.dart |
@@ -105,8 +105,7 @@ class ConstantSerializer |
@override |
void visitSymbol(SymbolConstantExpression exp, ObjectEncoder encoder) { |
- throw new UnsupportedError( |
- "ConstantSerializer.visitSymbol: ${exp.getText()}"); |
+ encoder.setString(Key.NAME, exp.name); |
} |
@override |