Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index dcfa06105059aa65cae4f14bfb9bbfe482b704ae..d3ccd424b460387eda6b682b53f55741618863dd 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -12052,7 +12052,7 @@ RawAbstractType* Parser::ParseType( |
"using '%s' in this context is invalid", |
type_name.ToCString()); |
} |
- if (!FLAG_load_deferred_eagerly && |
+ if ((!FLAG_load_deferred_eagerly || !allow_deferred_type) && |
hausner
2015/07/10 21:47:49
This is becoming kind of unreadable.
|
!prefix->IsNull() && prefix->is_deferred_load()) { |
// If deferred prefixes are allowed but it is not yet loaded, |
// remember that this function depends on the prefix. |