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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/registry.dart

Issue 541683002: Generate needed classes for constant maps in metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
Index: sdk/lib/_internal/compiler/implementation/resolution/registry.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/registry.dart b/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
index 605eaf20ae904bbf2b64f2e29b04da9c7993ad55..5925261e4c8dddcd70fe62ed92b2cfb02a4d641d 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
@@ -205,8 +205,9 @@ class ResolutionRegistry extends Registry {
backend.resolutionCallbacks.onLazyField(this);
}
- void registerMetadataConstant(Constant constant, Element annotatedElement) {
- backend.registerMetadataConstant(constant, annotatedElement, this);
+ void registerMetadataConstant(MetadataAnnotation metadata,
+ Element annotatedElement) {
+ backend.registerMetadataConstant(metadata, annotatedElement, this);
}
void registerThrowRuntimeError() {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | tests/lib/mirrors/metadata_const_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698