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

Unified Diff: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java

Issue 294903015: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
Index: editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
diff --git a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
index c4c104e979cd6fb251e218fec0d36c9bd7c2ae36..1cb990e53d40c4d51d3a2c1e62c2fb053fba2650 100644
--- a/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
+++ b/editor/util/plugins/com.google.dart.java2dart/src/com/google/dart/java2dart/engine/MainEngine.java
@@ -487,7 +487,6 @@ public class MainEngine {
{
CompilationUnit library = buildEngineLibrary();
String source = getFormattedSource(library);
- source = replaceSourceFragment(source, "OSUtilities.LINE_SEPARATOR", "'\\n'");
// TODO(scheglov) restore NgRepeatProcessor
source = replaceSourceFragment(
source,
@@ -780,6 +779,7 @@ public class MainEngine {
unit.getDirectives().add(
importDirective("parser.dart", null, importShowCombinator("Parser", "IncrementalParser")));
unit.getDirectives().add(importDirective("sdk.dart", null, importShowCombinator("DartSdk")));
+ unit.getDirectives().add(importDirective("constant.dart", null));
unit.getDirectives().add(importDirective("element.dart", null));
unit.getDirectives().add(importDirective("resolver.dart", null));
unit.getDirectives().add(importDirective("html.dart", "ht"));

Powered by Google App Engine
This is Rietveld 408576698