| Index: compiler/java/com/google/dart/compiler/DartCompiler.java
 | 
| diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
 | 
| index cd79de45ab03ddf55b199fd0aefdc187c2147ed4..7a148a40e6d1d9c9532f51a7bf876c6239fd1665 100644
 | 
| --- a/compiler/java/com/google/dart/compiler/DartCompiler.java
 | 
| +++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
 | 
| @@ -28,6 +28,7 @@ import com.google.dart.compiler.parser.CommentPreservingParser;
 | 
|  import com.google.dart.compiler.parser.DartParser;
 | 
|  import com.google.dart.compiler.parser.DartScanner.Location;
 | 
|  import com.google.dart.compiler.parser.DartScannerParserContext;
 | 
| +import com.google.dart.compiler.resolver.CompileTimeConstantResolver;
 | 
|  import com.google.dart.compiler.resolver.CoreTypeProvider;
 | 
|  import com.google.dart.compiler.resolver.CoreTypeProviderImplementation;
 | 
|  import com.google.dart.compiler.resolver.Element;
 | 
| @@ -541,6 +542,13 @@ public class DartCompiler {
 | 
|              new MemberBuilder().exec(unit, context, getTypeProvider());
 | 
|            }
 | 
|          }
 | 
| +
 | 
| +        // Perform resolution on compile-time constant expressions.
 | 
| +        for (LibraryUnit lib : libraries.values()) {
 | 
| +          for (DartUnit unit : lib.getUnits()) {
 | 
| +            new CompileTimeConstantResolver().exec(unit, context, getTypeProvider());
 | 
| +          }
 | 
| +        }
 | 
|        } finally {
 | 
|          Tracer.end(logEvent);
 | 
|        }
 | 
| 
 |