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

Unified Diff: sdk/lib/_internal/compiler/implementation/deferred_load.dart

Issue 392873002: Element-model refactoring. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 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: sdk/lib/_internal/compiler/implementation/deferred_load.dart
diff --git a/sdk/lib/_internal/compiler/implementation/deferred_load.dart b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
index 688ff6680f0fc338e1c398e3975a917ae3989a1d..87cd4ed6a190a8d641a25f440ffdd7270437fa73 100644
--- a/sdk/lib/_internal/compiler/implementation/deferred_load.dart
+++ b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
@@ -31,7 +31,6 @@ import 'elements/elements.dart' show
MetadataAnnotation,
ScopeContainerElement,
PrefixElement,
- ClosureContainer,
VoidElement,
TypedefElement,
AstElement;
@@ -281,7 +280,7 @@ class DeferredLoadTask extends CompilerTask {
/// Returns a [Link] of every [Import] that imports [element] into [library].
Link<Import> _getImports(Element element, LibraryElement library) {
- if (element.isMember) {
+ if (element.isClassMember) {
element = element.enclosingClass;
}
if (element.isAccessor) {

Powered by Google App Engine
This is Rietveld 408576698