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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index c49df9d921878e373d5d327bc44e42ba6cc709c6..4dfb8c1050df61d25819e631382a6209c873e870 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -440,6 +440,9 @@ abstract class Compiler implements DiagnosticListener {
ClassElement stackTraceClass;
ClassElement typedDataClass;
+ /// The constant for the [proxy] variable defined in dart:core.
+ Constant proxyConstant;
+
// Initialized after symbolClass has been resolved.
FunctionElement symbolConstructor;
@@ -916,6 +919,9 @@ abstract class Compiler implements DiagnosticListener {
backend.initializeHelperClasses();
dynamicClass.ensureResolved(this);
+
+ proxyConstant = constantHandler.compileVariable(
+ coreLibrary.find('proxy'), isConst: true);
}
Element _unnamedListConstructor;
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698