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

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

Issue 29083004: Restore CompilationUnit.lineInfo in Java and Dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 b936579544ca9ad9dc339365fde75cebad635826..a11d681e61418f2fccbe4814c48fa2360cfb1183 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
@@ -440,6 +440,7 @@ public class MainEngine {
unit.getDirectives().add(importDirective("dart:collection", null));
unit.getDirectives().add(importDirective("java_core.dart", null));
unit.getDirectives().add(importDirective("java_engine.dart", null));
+ unit.getDirectives().add(importDirective("source.dart", null, importShowCombinator("LineInfo")));
unit.getDirectives().add(importDirective("scanner.dart", null));
unit.getDirectives().add(
importDirective("engine.dart", null, importShowCombinator("AnalysisEngine")));
« no previous file with comments | « editor/util/plugins/com.google.dart.java2dart/resources/ast_include.dart ('k') | pkg/analyzer_experimental/lib/analyzer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698