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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java

Issue 10816034: Basic 'Quick Fix' support and one fix as example/test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java
index 2ec0736419515f1c5b08c4e9d8775b4cc172d436..1a7c99f1006ca3a67cb2f1477d01227fff5190ff 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/utilities/ast/DartElementLocator.java
@@ -304,7 +304,7 @@ public class DartElementLocator extends ASTVisitor<Void> {
findElementFor(targetElement);
// Import prefix is resolved into LibraryElement, so it is correct that corresponding
// DartElement is DartLibrary, but this is not what we (and user) wants, because
- // it looses information. We want DartImport, it gives both DartLibrary and name.
+ // it looses information. We want DartImport, it gives both DartLibrary and prefix.
messick 2012/07/24 16:49:54 loses
if (foundElement instanceof DartLibrary) {
try {
DartImport[] imports = compilationUnit.getLibrary().getImports();

Powered by Google App Engine
This is Rietveld 408576698