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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 1080503003: Move getElementAt() to CompilationUnitElement. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « pkg/analyzer/lib/src/generated/element_handle.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index 1e9b61ddca6fc268e6f9593b7cf677c0f99518a3..531ac3bc396dc3d6e5726010dfa362dd25823bd3 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -788,7 +788,7 @@ class IncrementalResolver {
/**
* The element of the compilation unit being resolved.
*/
- final CompilationUnitElement _definingUnit;
+ final CompilationUnitElementImpl _definingUnit;
/**
* The context the compilation unit being resolved in.
@@ -887,8 +887,8 @@ class IncrementalResolver {
_generateLints(rootNode);
// update entry errors
_updateEntry();
- // notify library
- _definingLibrary.afterIncrementalResolution();
+ // notify unit
+ _definingUnit.afterIncrementalResolution();
// OK
return true;
} finally {
« no previous file with comments | « pkg/analyzer/lib/src/generated/element_handle.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698