Index: pkg/compiler/lib/src/deferred_load.dart |
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart |
index a968c6b2b74fdc644be59130f2d594c73ca080a4..6a25c47b7ca44234f47f3a08c6f64a800a0890d3 100644 |
--- a/pkg/compiler/lib/src/deferred_load.dart |
+++ b/pkg/compiler/lib/src/deferred_load.dart |
@@ -259,8 +259,8 @@ class DeferredLoadTask extends CompilerTask { |
Set<ConstantValue> constants, |
isMirrorUsage) { |
- if (element.isErroneous) { |
- // Erroneous elements are ignored. |
+ if (element.isMalformed) { |
+ // Malformed elements are ignored. |
return; |
} |