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

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

Issue 296463003: Handle metadata on nested function parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix latest crash. 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: 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 ba055a7c598652184bce7340fd536c10d11af778..1084061948d43bc1dbf7dfcffac815e60143945f 100644
--- a/sdk/lib/_internal/compiler/implementation/deferred_load.dart
+++ b/sdk/lib/_internal/compiler/implementation/deferred_load.dart
@@ -54,7 +54,7 @@ import 'tree/tree.dart' as ast;
import 'resolution/resolution.dart' show
TreeElements,
- AnalyzableElement;
+ AnalyzableElementX;
/// A "hunk" of the program that will be loaded whenever one of its [imports]
/// are loaded.
@@ -452,7 +452,7 @@ class DeferredLoadTask extends CompilerTask {
// TODO(sigurdm): Unresolved elements should just answer false when
// asked isNeededForReflection. Instead an internal error is triggered.
// So we have to filter them out here.
- if (element is AnalyzableElement && !element.hasTreeElements) return;
+ if (element is AnalyzableElementX && !element.hasTreeElements) return;
if (compiler.backend.isNeededForReflection(element)) {
_mapDependencies(element, deferredImport);
}

Powered by Google App Engine
This is Rietveld 408576698