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

Unified Diff: pkg/compiler/lib/src/resolution/signatures.dart

Issue 1302333006: Support metadata on patches. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove partial renaming Created 5 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: pkg/compiler/lib/src/resolution/signatures.dart
diff --git a/pkg/compiler/lib/src/resolution/signatures.dart b/pkg/compiler/lib/src/resolution/signatures.dart
index 4dfd954ebcc8e55b643707a4b30e1211c7757a77..2a6aa6d4dbea9a1327d0f1279662ab2d6b4811ff 100644
--- a/pkg/compiler/lib/src/resolution/signatures.dart
+++ b/pkg/compiler/lib/src/resolution/signatures.dart
@@ -102,7 +102,8 @@ class SignatureResolver extends MappingVisitor<FormalElementX> {
currentDefinitions = node;
FormalElementX element = definition.accept(this);
if (currentDefinitions.metadata != null) {
- element.metadata = compiler.resolver.resolveMetadata(element, node);
+ element.metadataInternal =
+ compiler.resolver.resolveMetadata(element, node);
}
currentDefinitions = null;
return element;

Powered by Google App Engine
This is Rietveld 408576698