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

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

Issue 98533005: Handle @proxy classes in type checker. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years 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/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index c29501b3771fa46a9d77782bce83a63f1f4d7076..3f251c319e7b842be310a40d2759bc73dc51df41 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -758,6 +758,9 @@ class ResolverTask extends CompilerTask {
}
for (MetadataAnnotation metadata in element.metadata) {
metadata.ensureResolved(compiler);
+ if (!element.isProxy && metadata.value == compiler.proxyConstant) {
+ element.isProxy = true;
+ }
}
// Force resolution of metadata on non-instance members since they may be

Powered by Google App Engine
This is Rietveld 408576698