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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 10890030: Move core and coreimpl from corelib/ to lib/core and lib/coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 4 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/CoreTypeProvider.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 180c4120b99822beac2a70faf6a403042178a76c..166b8c2cddab4572cd4390b576e987e9776e6f2a 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -850,14 +850,14 @@ public class DartCompiler {
}
// auto-magically define "assert" function
- if (dartSrc.getUri().toString().equals("dart://core/runtime/object.dart")) {
+ if (dartSrc.getUri().toString().equals("dart://core/object.dart")) {
srcCode += "\nvoid assert(x) {}";
}
// inject "Type" type from 1.0 M1 specification
// remove once it will be added into SDK
// http://code.google.com/p/dart/issues/detail?id=3368
- if (dartSrc.getUri().toString().equals("dart://core/runtime/object.dart")) {
+ if (dartSrc.getUri().toString().equals("dart://core/object.dart")) {
srcCode += "\nclass Type {}";
}
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/resolver/CoreTypeProvider.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698