Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index 98afea3bf6f88610f998b5ef6c8858e808d15112..e6d214c4ddf9faabf7493a9c3303b6eab1439a1f 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -1380,8 +1380,9 @@ abstract class Compiler implements DiagnosticListener { |
functionApplyMethod = functionClass.lookupLocalMember('apply'); |
proxyConstant = |
- resolver.constantCompiler.compileConstant( |
- coreLibrary.find('proxy')).value; |
+ constants.getConstantValue( |
+ resolver.constantCompiler.compileConstant( |
+ coreLibrary.find('proxy'))); |
if (preserveComments) { |
return libraryLoader.loadLibrary(DART_MIRRORS) |