Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: pkg/compiler/lib/src/constants/values.dart

Issue 2056903003: Remove Registry from registerMetadataConstant (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add missing annotations Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/constants/values.dart
diff --git a/pkg/compiler/lib/src/constants/values.dart b/pkg/compiler/lib/src/constants/values.dart
index 37f5646d7e3600f22f575df233d3153b2273f62e..215a605ebee7fe9e3cc5f6ddd879ecabf5357feb 100644
--- a/pkg/compiler/lib/src/constants/values.dart
+++ b/pkg/compiler/lib/src/constants/values.dart
@@ -751,7 +751,9 @@ class DeferredConstantValue extends ConstantValue {
String toDartText() => 'deferred(${referenced.toDartText()})';
- String toStructuredText() => 'DeferredConstant($referenced)';
+ String toStructuredText() {
+ return 'DeferredConstant(${referenced.toStructuredText()})';
+ }
}
/// A constant value resulting from a non constant or erroneous constant
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698